#86 We can create rooms with no area

Minor
closed
MRBS (194)
3
2012-07-20
2003-11-21
Thierry Bothorel
No

If no area and no room already exist, we can create new
rooms. This should not be possible.

Discussion

  • Gavin Walker
    Gavin Walker
    2003-11-26

    Logged In: YES
    user_id=77869

    Hi Thierry

    Just in case you haven't worked this out - the problem is that
    isset($area) is being used where empty($area) should be used.

    get_default_area() will return 0 or the area ID so after line 21
    $area is set but it might be 0, which would indicate that there
    was no area defined so the room option should not appear.

    Regards

    Gavin.

     


Anonymous


Cancel   Add attachments