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

Major
closed
nobody
None
1
2015-03-06
2013-02-08
Anonymous
No

Reposting, as it was initially marked as a feature request.

+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

    Ooops! Fixed in Rev 2686.

    Campbell

     
  • John Beranek

    John Beranek - 2015-03-06
    • status: open --> closed
     
  • John Beranek

    John Beranek - 2015-03-06

    Fixed in a released version of MRBS

     


Anonymous

Cancel  Add attachments





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

Sign up for the SourceForge newsletter:





No, thanks