diff options
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/entities.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php index 559701406..f7816569b 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -137,14 +137,15 @@ * @param string $name * @param mixed $value * @param string $value_type + * @param bool $multiple * @return bool */ - public function setMetaData($name, $value, $value_type = "") + public function setMetaData($name, $value, $value_type = "", $multiple = false) { if (is_array($value)) { foreach ($value as $v) - if (!create_metadata($this->getGUID(), $name, $v, $value_type, $this->getOwner(), $this->getAccessID(), true)) return false; + if (!create_metadata($this->getGUID(), $name, $v, $value_type, $this->getOwner(), $this->getAccessID(), $multiple)) return false; return true; } |