Index: trunk/kernel/include/category.php =================================================================== diff -u -r271 -r470 --- trunk/kernel/include/category.php (.../category.php) (revision 271) +++ trunk/kernel/include/category.php (.../category.php) (revision 470) @@ -48,7 +48,7 @@ function Delete() { global $CatDeleteList; - + if(!is_array($CatDeleteList)) $CatDeleteList = array(); if($this->UsingTempTable()==FALSE) @@ -2232,7 +2232,7 @@ { if($Param == NULL) { - $d->$function(); + $d->$function(); } else { @@ -2241,7 +2241,7 @@ } else { - RunUp($ParentId, $function, $Param); + RunUp($ParentId, $function, $Param); if($Param == NULL) { $d->$function(); @@ -2262,7 +2262,6 @@ $adodbConnection = GetADODBConnection(); $sql = "select CategoryId from ".GetTablePrefix()."Category where ParentId='$Id'"; $rs = $adodbConnection->Execute($sql); - //echo $sql."
\n"; while($rs && !$rs->EOF) {