From f2993c7e16ffebe135ccd9d97a6e9752be871132 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Sat, 25 Jul 2009 12:27:16 -0400 Subject: [PATCH] Merge from FW_3, fix warnings. --- turba/lib/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.11.0