diff options
Diffstat (limited to 'codebase/base_connector.php')
-rwxr-xr-x | codebase/base_connector.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/codebase/base_connector.php b/codebase/base_connector.php index 01a42ce..cb44b15 100755 --- a/codebase/base_connector.php +++ b/codebase/base_connector.php @@ -857,9 +857,9 @@ class Connector { @param url url used for update notifications */ - public function enable_live_update($table, $url=false){ - $this->live_update = new $this->live_update_data_type($this->sql, $this->config, $this->request, $table,$url, array("connector" => $this)); - $this->live_update->set_event($this->event,$this->names["item_class"]); + public function enable_live_update($table, $url=false, $origin_table = false){ + $this->live_update = new $this->live_update_data_type($this->sql, $this->config, $this->request, $table,$url, array("connector" => $this, "table" => $origin_table)); + $this->live_update->set_event($this->event,$this->names["item_class"]); $this->live_update->set_encoding($this->encoding); $this->event->attach("beforeOutput", Array($this->live_update, "version_output")); $this->event->attach("beforeFiltering", Array($this->live_update, "get_updates")); |