added paging chunks to maplist
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user