Ryuji AMANO
ryuji_amano****@users*****
2006年 10月 7日 (土) 16:34:54 JST
Index: xoops2jp/html/core/XCube_Validator.class.php diff -u xoops2jp/html/core/XCube_Validator.class.php:1.1.2.1 xoops2jp/html/core/XCube_Validator.class.php:1.1.2.2 --- xoops2jp/html/core/XCube_Validator.class.php:1.1.2.1 Fri Sep 29 17:13:22 2006 +++ xoops2jp/html/core/XCube_Validator.class.php Sat Oct 7 16:34:54 2006 @@ -1,7 +1,7 @@ <?php /** * @package XCube - * @version $Id: XCube_Validator.class.php,v 1.1.2.1 2006/09/29 08:13:22 minahito Exp $ + * @version $Id: XCube_Validator.class.php,v 1.1.2.2 2006/10/07 07:34:54 ryuji_amano Exp $ */ /** @@ -134,13 +134,13 @@ return true; } else { - if (!is_a($form, "XCube_XCube_FileProperty")) { + if (!is_a($form, "XCube_FileProperty")) { return true; } $extArr = explode(",", $vars['extension']); foreach ($extArr as $ext) { - if (strtolower($from->mValue->getExtension()) == strtolower($ext)) { + if (strtolower($form->mValue->getExtension()) == strtolower($ext)) { return true; } } @@ -158,7 +158,7 @@ return true; } else { - if (!is_a($form, "XCube_XCube_FileProperty")) { + if (!is_a($form, "XCube_FileProperty")) { return true; }