summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroy2013-05-15 12:02:19 (GMT)
committer roy2013-05-15 12:02:19 (GMT)
commit5ca2f65093ef967742b15c4047478b37342de662 (patch)
tree073017680bd096148d05ff19890cae47c2b0e839
parent4681d53ba66702f4d48d7931afddfc3efe43dcc0 (diff)
Initialize the nids variable.
-rw-r--r--office_calendar/office_calendar.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/office_calendar/office_calendar.module b/office_calendar/office_calendar.module
index dbec3eb..40a844c 100644
--- a/office_calendar/office_calendar.module
+++ b/office_calendar/office_calendar.module
@@ -872,7 +872,7 @@ function office_calendar_shift_presave(OfficePeopleShiftEntity $shift) {
* user shifts.
*/
function office_calendar_calendar_nids_list() {
- $nids = array();
+ $nids = array(0);
$account = office_user_init();
// Get a basic structure of the entity field query.