From 046b1f0631f314342425045e41671a99283e9e05 Mon Sep 17 00:00:00 2001 From: jengo Date: Sat, 23 Dec 2000 06:36:30 +0000 Subject: [PATCH] PHP 4.0.0 was spitting out warnings, so I supressed them --- admin/editaccount.php | 4 ++-- admin/newaccount.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/admin/editaccount.php b/admin/editaccount.php index 885908676c..93b3bf6493 100755 --- a/admin/editaccount.php +++ b/admin/editaccount.php @@ -172,8 +172,8 @@ $i = 0; $sorted_apps = $phpgw_info["apps"]; - asort($sorted_apps); - reset($sorted_apps); + @asort($sorted_apps); + @reset($sorted_apps); while ($permission = each($sorted_apps)) { if ($permission[1]["enabled"]) { $perm_display[$i][0] = $permission[0]; diff --git a/admin/newaccount.php b/admin/newaccount.php index d6bba891b2..d9c48859cf 100755 --- a/admin/newaccount.php +++ b/admin/newaccount.php @@ -111,8 +111,8 @@ $phpgw->template->set_var("",""); $i = 0; $sorted_apps = $phpgw_info["apps"]; - asort($sorted_apps); - reset($sorted_apps); + @asort($sorted_apps); + @reset($sorted_apps); while ($permission = each($sorted_apps)) { if ($permission[1]["enabled"]) { $perm_display[$i][0] = $permission[0];