浏览代码

Fix small bug in V class

Piotr Labudda 11 年之前
父节点
当前提交
0b1c099157
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);