*/
public function isClone() {
$origin = $this->getProperty("origin");
- if (strlen($origin) > 0) {
+ if (strlen($origin["value"]) > 0) {
return true;
} else {
return false;
*/
public function getOrigin() {
if ($this->isClone()) {
- return $this->getProperty("origin");
+ $origin = $this->getProperty("origin");
+ return $origin['value'];
} else {
return "";
}