mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-03-04 10:11:26 +01:00
foreach instead of while-list-each
This commit is contained in:
parent
fb1f4f9d6b
commit
acc5c0dfb0
@ -78,7 +78,7 @@
|
|||||||
/* Load hook file with functions to validate each config (one/none/all) */
|
/* Load hook file with functions to validate each config (one/none/all) */
|
||||||
$GLOBALS['phpgw']->hooks->single('config_validate',$appname);
|
$GLOBALS['phpgw']->hooks->single('config_validate',$appname);
|
||||||
|
|
||||||
while (list($key,$config) = each($_POST['newsettings']))
|
foreach($_POST['newsettings'] as $key => $config)
|
||||||
{
|
{
|
||||||
if ($config)
|
if ($config)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user