Minahito
minah****@users*****
2006年 8月 10日 (木) 18:42:35 JST
Index: xoops2jp/html/kernel/configcategory.php diff -u xoops2jp/html/kernel/configcategory.php:1.2.8.2 xoops2jp/html/kernel/configcategory.php:1.2.8.3 --- xoops2jp/html/kernel/configcategory.php:1.2.8.2 Tue May 16 22:25:07 2006 +++ xoops2jp/html/kernel/configcategory.php Thu Aug 10 18:42:35 2006 @@ -1,5 +1,5 @@ <?php -// $Id: configcategory.php,v 1.2.8.2 2006/05/16 13:25:07 nobunobu Exp $ +// $Id: configcategory.php,v 1.2.8.3 2006/08/10 09:42:35 minahito Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -180,7 +180,7 @@ if (strtolower(get_class($confcat)) != 'xoopsconfigcategory') { return false; } - $sql = sprintf("DELETE FROM %s WHERE confcat_id = %u", $this->db->prefix('configcategory'), $configcategory->getVar('confcat_id')); + $sql = sprintf("DELETE FROM %s WHERE confcat_id = %u", $this->db->prefix('configcategory'), $confcat->getVar('confcat_id')); if (!$result = $this->db->query($sql)) { return false; }