[-] BO : fixed bug #PSCFV-3352

This commit is contained in:
vAugagneur committed 2012-07-26 13:03:54 +00:00
1 parent a97e9530a2
commit 4e62d9d463
3 files changed
+11 -25

No files matched your search

+3 -1
View File
@@ -1132,8 +1132,10 @@ class CategoryCore extends ObjectModel
* @param mixed $id_category_parent
* @return boolean true if succeed
*/
public static function cleanPositions($id_category_parent)
public static function cleanPositions($id_category_parent = null)
{
if ($id_category_parent === null)
return;
$return = true;
$id = Context::getContext()->shop->id;