summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2ad7523)
raw | patch | inline | side by side (parent: 2ad7523)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 25 Jan 2008 09:06:39 +0000 (09:06 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 25 Jan 2008 09:06:39 +0000 (09:06 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8603 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/addons/gotomasses/class_gotomasses.inc | patch | blob | history |
diff --git a/gosa-core/plugins/addons/gotomasses/class_gotomasses.inc b/gosa-core/plugins/addons/gotomasses/class_gotomasses.inc
index cb1da6db9f829a80caa1c8f7713789bbfb7f1685..49a8c0d5cb105f9ea30c02be7365ec22c6c0c9bd 100644 (file)
$this->start = $start;
}
}
+
+ /* Check start stop and reset if necessary */
+ $count = $this->o_queue->number_of_queued_entries();
+ if($this->start >= $count){
+ $this->start = $count -1;
+ }
+ if($this->start < 0){
+ $this->start = 0;
+ }
}