X-Git-Url: https://git.rohieb.name/iserv-mod-room-reservation.git/blobdiff_plain/5760b2a8d146d7c186daab1743c84683d0d84cea..447688797a2263dcf6c8b8d1aca64ea40464dcb3:/includes/mod_roomReservationRoomsManager.inc?ds=sidebyside diff --git a/includes/mod_roomReservationRoomsManager.inc b/includes/mod_roomReservationRoomsManager.inc index 8271a04..732b3dc 100755 --- a/includes/mod_roomReservationRoomsManager.inc +++ b/includes/mod_roomReservationRoomsManager.inc @@ -117,7 +117,7 @@ class mod_roomReservationRoomsManager { * Get all rooms from the database * @return array of mod_roomReservationRoom */ - function getRooms() { + static function getRooms() { $aoReturn = array(); $hQuery = db_query("SELECT * FROM rooms ORDER BY name;"); while($arResult = pg_fetch_array($hQuery)) {