added paging chunks to maplist

This commit is contained in:
Steffen Schröder committed 2014-05-01 17:35:47 +02:00
1 parent cac3550856
commit 8b83825344
5 files changed
+109 -68

No files matched your search

+3 -1
View File
@@ -81,7 +81,9 @@ class Script {
else {
$scriptFunction = new ScriptFunction($name, $text);
}
$this->functions[$scriptFunction->getName()] = $scriptFunction;
if (!in_array($scriptFunction, $this->functions)) {
array_push($this->functions, $scriptFunction);
}
return $this;
}