Minahito
minah****@users*****
2006年 10月 1日 (日) 18:46:35 JST
Index: xoops2jp/html/class/XCube_Validator.class.php diff -u xoops2jp/html/class/XCube_Validator.class.php:1.1.2.1 xoops2jp/html/class/XCube_Validator.class.php:1.1.2.2 --- xoops2jp/html/class/XCube_Validator.class.php:1.1.2.1 Fri Jan 27 17:01:51 2006 +++ xoops2jp/html/class/XCube_Validator.class.php Sun Oct 1 18:46:35 2006 @@ -127,17 +127,17 @@ 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; } } - + return false; } } @@ -151,7 +151,7 @@ return true; } else { - if (!is_a($form, "XCube_XCube_FileProperty")) { + if (!is_a($form, "XCube_FileProperty")) { return true; }