index 92a3f801b4d75e3b90c9804595531e61da534e28..cac248e2ec5f80e7b5a332908440beddba8d9573 100644 (file)
tabs::save_object($save_current);
/* Update reference, transfer variables */
- $this->by_object['termstartup']->gotoTerminalPath=
- $this->by_object['termgeneric']->gotoTerminalPath;
+ if(isset($this->by_object['termstartup'])){
+ $this->by_object['termstartup']->gotoTerminalPath=
+ $this->by_object['termgeneric']->gotoTerminalPath;
+ }
+
+ /* Assign current cn to all other plugins */
+ $baseobject= $this->by_object['termgeneric'];
+ foreach ($this->by_object as $key => $obj){
+ $this->by_object[$key]->cn= $baseobject->cn;
+ }
}