PHP 4.0.0 was spitting out warnings, so I supressed them

This commit is contained in:
jengo 2000-12-23 06:36:30 +00:00
parent 9ba288fab7
commit 046b1f0631
2 changed files with 4 additions and 4 deletions

View File

@ -172,8 +172,8 @@
$i = 0; $i = 0;
$sorted_apps = $phpgw_info["apps"]; $sorted_apps = $phpgw_info["apps"];
asort($sorted_apps); @asort($sorted_apps);
reset($sorted_apps); @reset($sorted_apps);
while ($permission = each($sorted_apps)) { while ($permission = each($sorted_apps)) {
if ($permission[1]["enabled"]) { if ($permission[1]["enabled"]) {
$perm_display[$i][0] = $permission[0]; $perm_display[$i][0] = $permission[0];

View File

@ -111,8 +111,8 @@
$phpgw->template->set_var("",""); $phpgw->template->set_var("","");
$i = 0; $i = 0;
$sorted_apps = $phpgw_info["apps"]; $sorted_apps = $phpgw_info["apps"];
asort($sorted_apps); @asort($sorted_apps);
reset($sorted_apps); @reset($sorted_apps);
while ($permission = each($sorted_apps)) { while ($permission = each($sorted_apps)) {
if ($permission[1]["enabled"]) { if ($permission[1]["enabled"]) {
$perm_display[$i][0] = $permission[0]; $perm_display[$i][0] = $permission[0];