make hidden rooms visible for shift creation

This commit is contained in:
Philip Häusler 2012-04-26 22:45:45 +02:00
parent a4d03edde2
commit f81943f6c5
1 changed files with 2 additions and 2 deletions

View File

@ -14,8 +14,8 @@ function admin_shifts() {
$length = ''; $length = '';
$change_hours = ''; $change_hours = '';
// Locations laden // Locations laden (auch unsichtbare - fuer Erzengel ist das ok)
$rooms = sql_select("SELECT * FROM `Room` WHERE `show`='Y' ORDER BY `Name`"); $rooms = sql_select("SELECT * FROM `Room` ORDER BY `Name`");
$room_array = array (); $room_array = array ();
foreach ($rooms as $room) foreach ($rooms as $room)
$room_array[$room['RID']] = $room['Name']; $room_array[$room['RID']] = $room['Name'];