Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

Commit

Permalink
BUG: Fixing issue with recursive save
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Jomier committed Mar 23, 2011
1 parent 518ffe2 commit 9fee581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/models/pdo/FolderModel.php
Expand Up @@ -173,7 +173,7 @@ public function delete($folder)
array('left_indice >= ?'=>$leftIndice));
$this->database->getDB()->update('folder', array('right_indice'=> new Zend_Db_Expr('right_indice - 2')),
array('right_indice >= ?'=>$leftIndice));
$this->delete( $folder);
parent::delete( $folder);
unset($folder->folder_id);
$folder->saved=false;
return true;
Expand Down

0 comments on commit 9fee581

Please sign in to comment.