From c4b97f01cbe2af416ab049748a1ffdca575e7557 Mon Sep 17 00:00:00 2001 From: shrykedude Date: Sat, 14 Feb 2004 05:28:06 +0000 Subject: [PATCH] Fix for bug #896455 --- preferences/inc/class.bocategories.inc.php | 4 ++-- preferences/inc/class.uicategories.inc.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/preferences/inc/class.bocategories.inc.php b/preferences/inc/class.bocategories.inc.php index c906df6d44..4d025b0087 100644 --- a/preferences/inc/class.bocategories.inc.php +++ b/preferences/inc/class.bocategories.inc.php @@ -106,9 +106,9 @@ return $this->cats->formated_list($format,$type,$cat_parent,$global_cats); } - function delete($cat_id,$subs) + function delete($cat_id,$drop_subs,$modify_subs=false) { - return $this->cats->delete($cat_id,$subs); + return $this->cats->delete($cat_id,$drop_subs,$modify_subs); } function check_values($values) diff --git a/preferences/inc/class.uicategories.inc.php b/preferences/inc/class.uicategories.inc.php index 42e6b7040e..f039dd12be 100644 --- a/preferences/inc/class.uicategories.inc.php +++ b/preferences/inc/class.uicategories.inc.php @@ -551,7 +551,7 @@ } else { - $this->bo->delete($cat_id,False); + $this->bo->delete($cat_id,False,True); } $GLOBALS['phpgw']->redirect_link('/index.php',$link_data); }