[-] BO : fixed bug #PSCFV-3352
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16582 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user