#261 Fixing the fix: r2671, error is triggered in week view resizing

Future_Requests
closed
nobody
None
1
2013-02-08
2013-02-07
Anonymous
No
+if (empty($rooms))
+{
+  trigger_error('Internal error: no rooms specified', E_USER_WARNING);
+}

When resizing a booking in a week view, $rooms is always empty and always triggers an error.
We should either pass the $rooms parameter in ajax call or, if there is any reason not to do so, add

if(!ajax) { trigger_error ... }

Discussion

  • Campbell Morrison

    • status: open --> closed
     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks