From: Michael J. Rubinsky Date: Sat, 25 Jul 2009 16:27:16 +0000 (-0400) Subject: Merge from FW_3, fix warnings. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=f2993c7e16ffebe135ccd9d97a6e9752be871132;p=horde.git Merge from FW_3, fix warnings. --- diff --git a/turba/lib/api.php b/turba/lib/api.php index bcec2d65a..36d3fcac2 100644 --- a/turba/lib/api.php +++ b/turba/lib/api.php @@ -232,7 +232,7 @@ function _turba_removeUserData($user) } /* Only attempt share removal if we have shares configured */ - if ($_SESSION['turba']['has_share']) { + if (!empty($_SESSION['turba']['has_share'])) { $shares = &$GLOBALS['turba_shares']->listShares( $user, PERMS_EDIT, $user);