From: hickert Date: Thu, 24 Jan 2008 14:58:59 +0000 (+0000) Subject: Updated listing X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=190cb617321185d2a2134cb724fab3e3078e3b6a;p=gosa.git Updated listing git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8591 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/addons/gotomasses/class_gotomasses.inc b/gosa-core/plugins/addons/gotomasses/class_gotomasses.inc index 5bed0057a..67898bb9b 100644 --- a/gosa-core/plugins/addons/gotomasses/class_gotomasses.inc +++ b/gosa-core/plugins/addons/gotomasses/class_gotomasses.inc @@ -259,14 +259,14 @@ class gotomasses extends plugin $start = $this->range * $this->start; $stop = $start + $this->range; $entries = $this->o_queue->get_queued_entries($start,$stop); - if(!is_array($entries)){ + if(!is_array($entries) || !isset($entries['XML']) || !is_array($entries['XML'])){ msg_dialog::display(_("Error"), sprintf(_("Cannot load queue entries: %s"), "

".$this->o_queue->get_error()), ERROR_DIALOG); return(array()); } $tasks = array(); $ret = array(); - foreach($entries as $entry){ + foreach($entries['XML'] as $entry){ $task = $entry['ID']; $ret[]= $entry; }