Explorar el Código

Fix small bug in V class

Piotr Labudda hace 11 años
padre
commit
0b1c099157
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      SE/se-lib/V.php

+ 1 - 1
SE/se-lib/V.php

@@ -49,7 +49,7 @@ class V {
 			case 'word':
 				if (is_scalar($from)) {
 					$ret = $from;
-					settype($ret, $type);
+					settype($ret, 'string');
 					$ret = trim($ret);
 					if (false !== ($pos = strpos($ret, ' '))) {
 						$ret = substr($ret, 0, $pos);