mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
fix PHP Warning "continue" targeting switch, though a single continue/break works too
This commit is contained in:
parent
266f5059d3
commit
0755668e9f
@ -369,7 +369,7 @@ class addressbook_vcal extends addressbook_bo
|
||||
}
|
||||
// Horde::logMessage("vCalAddressbook $vcardField omitted due to maximum size $size",
|
||||
// __FILE__, __LINE__, PEAR_LOG_WARNING);
|
||||
continue;
|
||||
continue 2;
|
||||
}
|
||||
$values = array();
|
||||
}
|
||||
@ -425,7 +425,7 @@ class addressbook_vcal extends addressbook_bo
|
||||
}
|
||||
// Horde::logMessage("vCalAddressbook $vcardField omitted due to maximum size $size",
|
||||
// __FILE__, __LINE__, PEAR_LOG_WARNING);
|
||||
continue;
|
||||
continue 2;
|
||||
}
|
||||
// truncate the value to size
|
||||
$cursize = strlen(implode('', $values));
|
||||
@ -1003,7 +1003,7 @@ class addressbook_vcal extends addressbook_bo
|
||||
if ($vcardValues[$vcardKey]['params']['ENCODING'] === 'SMIME')
|
||||
{
|
||||
// ignore re-importing of S/Mime pubkey for now, as we might be called for a new contact
|
||||
continue;
|
||||
continue 2;
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user