summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3d7710d)
raw | patch | inline | side by side (parent: 3d7710d)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 20 Sep 2007 13:40:47 +0000 (13:40 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 20 Sep 2007 13:40:47 +0000 (13:40 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7360 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/addons/godfs/tabs_dfs.inc | patch | blob | history | |
plugins/admin/systems/class_glpiPrinterAccount.inc | patch | blob | history | |
plugins/admin/systems/class_printGeneric.inc | patch | blob | history |
index 02438ebae5ef66be8d70826a7991ed98ceb1f010..026f55aebcb9580040c3354a822d0b6cb950df0d 100644 (file)
}
function save($ignore_account= FALSE)
+ {
$baseobject = $this->by_object['dfsManagment'];
return tabs::save(TRUE);
}
diff --git a/plugins/admin/systems/class_glpiPrinterAccount.inc b/plugins/admin/systems/class_glpiPrinterAccount.inc
index 9a461b785ec261ed8e06bd8d4ac03f417f110fcc..6447d62ca47496fbeb3403e10e3ff28f2211d642 100644 (file)
/* if( cur_dialog != false || cur_dialog != NULL)
* There is a dialog which wants to be displayed
*/
- if($this->cur_dialog){
+ if($this->cur_dialog && is_object($this->cur_dialog)){
$this->cur_dialog->save_object();
$this->dialog=true;
$this->cur_dialog->parent = &$this;
diff --git a/plugins/admin/systems/class_printGeneric.inc b/plugins/admin/systems/class_printGeneric.inc
index 969fbf3bce4966137e5f160d2dbc8138937775be..ccadc0dd43bf57adf8ef3bdd2e5658929f9b1ed7 100644 (file)
/* Display ppd configure/select dialog */
if(isset($_POST['EditDriver'])){
- if($this->PPDdialogToSave){
+ if($this->PPDdialogToSave && is_object($this->PPDdialogToSave)){
$this->dialog = $this->PPDdialogToSave;
}else{
$this->dialog = new printerPPDDialog($this->config, $this->dn,$this->gotoPrinterPPD);