"UPPS typo"

This commit is contained in:
Ralf Becker 2008-05-20 10:23:23 +00:00
parent b07dd8ef9e
commit 7ba02f326a

View File

@ -515,7 +515,7 @@ ORDER BY cal_user_type, cal_usre_id
return false;
}
// new event (without uid), not strong enough uid or new created referencing event => create new uid
if (strlen($event['cal_uid']) < 20 || is_nummeric($event['cal_uid']) ||
if (strlen($event['cal_uid']) < 20 || is_numeric($event['cal_uid']) ||
$event['cal_reference'] && strpos($event['cal_uid'],'cal-'.$event['calreference'].'-') !== false)
{
$event['cal_uid'] = $GLOBALS['egw']->common->generate_uid('calendar',$cal_id);