make hidden rooms visible for shift creation
This commit is contained in:
parent
a4d03edde2
commit
f81943f6c5
|
@ -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'];
|
||||||
|
|
Loading…
Reference in New Issue