summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7fd55b3)
raw | patch | inline | side by side (parent: 7fd55b3)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 29 Jan 2010 16:57:05 +0000 (16:57 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 29 Jan 2010 16:57:05 +0000 (16:57 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15466 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/devices/class_deviceGeneric.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/devices/class_deviceGeneric.inc b/gosa-plugins/goto/admin/devices/class_deviceGeneric.inc
index b4a8ebe5a6e794693c5c6f43922722ea244d8573..76acbdbf138d89d83110ed7e0fd80b07aeef6f3e 100644 (file)
public function save_object()
{
- /* Refresh base */
- if ($this->acl_is_moveable($this->base)){
- if (!$this->baseSelector->update()) {
- msg_dialog::display(_("Error"), msgPool::permMove(), ERROR_DIALOG);
- }
- if ($this->base != $this->baseSelector->getBase()) {
- $this->base= $this->baseSelector->getBase();
- $this->is_modified= TRUE;
- }
- }
-
if(isset($_POST['deviceGeneric_posted'])){
plugin::save_object();
+
+ /* Refresh base */
+ if ($this->acl_is_moveable($this->base)){
+ if (!$this->baseSelector->update()) {
+ msg_dialog::display(_("Error"), msgPool::permMove(), ERROR_DIALOG);
+ }
+ if ($this->base != $this->baseSelector->getBase()) {
+ $this->base= $this->baseSelector->getBase();
+ $this->is_modified= TRUE;
+ }
+ }
+
}
}