fixed PHP Warning: Illegal string offset

This commit is contained in:
Ralf Becker 2012-10-23 15:09:41 +00:00
parent 7b32964069
commit 3ff97fb7e6

View File

@ -374,6 +374,7 @@ class calendar_uiforms extends calendar_ui
break; break;
default: // existing participant row default: // existing participant row
if (!is_array($data)) continue; // widgets in participant tab, above participant list
foreach(array('uid','status','quantity','role') as $name) foreach(array('uid','status','quantity','role') as $name)
{ {
$$name = $data[$name]; $$name = $data[$name];