fixing ->setOwner which were always setting empty owner

This commit is contained in:
Régis Leroy 2005-03-17 14:36:06 +00:00
parent 1a5243c9c4
commit 4610377a66

View File

@ -196,7 +196,7 @@ class Instance extends Base {
$this->owner = $user;
// save database
$query = "update `".GALAXIA_TABLE_PREFIX."instances` set `wf_owner`=? where `wf_instance_id`=?";
$this->query($query,array($owner,(int)$this->instanceId));
$this->query($query,array($this->owner,(int)$this->instanceId));
}
/*!