[debian-edu-commits] debian-edu/pkg-team/ 01/01: Fixup PHP syntax in 1010_fix-entry-removal-in-mail-plugin.patch. See #796823 for the details.

Holger Levsen holger at layer-acht.org
Fri May 20 16:19:31 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository gosa.

commit d230d10fd806d8c6c9c227f78d3209be849240b3
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri May 20 18:09:27 2016 +0200

    Fixup PHP syntax in 1010_fix-entry-removal-in-mail-plugin.patch. See #796823 for the details.
---
 debian/changelog                                           |  7 +++++++
 debian/patches/1010_fix-entry-removal-in-mail-plugin.patch | 12 +++++++-----
 2 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 60a9f45..1b99699 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+gosa (2.7.4+reloaded2-10) UNRELEASED; urgency=medium
+
+  * Fixup PHP syntax in 1010_fix-entry-removal-in-mail-plugin.patch. See
+    #796823 for the details.
+
+ -- Holger Levsen <holger at debian.org>  Fri, 20 May 2016 18:10:35 +0200
+
 gosa (2.7.4+reloaded2-9) unstable; urgency=medium
 
   * debian/gosa-desktop.dirs:
diff --git a/debian/patches/1010_fix-entry-removal-in-mail-plugin.patch b/debian/patches/1010_fix-entry-removal-in-mail-plugin.patch
index 80f264f..d3843c3 100644
--- a/debian/patches/1010_fix-entry-removal-in-mail-plugin.patch
+++ b/debian/patches/1010_fix-entry-removal-in-mail-plugin.patch
@@ -10,12 +10,14 @@ Abstract:
 
 --- a/mail/admin/groups/mail/class_groupMail.inc
 +++ b/mail/admin/groups/mail/class_groupMail.inc
-@@ -394,7 +394,7 @@
+@@ -393,8 +393,8 @@
+                 }
              }
          }
-         if (isset($_POST['delete_forwarder'])){
+-        if (isset($_POST['delete_forwarder'])){
 -            $this->delForwarder (get_post('forwarder_list'));
-+            $this->delForwarder ($_POST('forwarder_list'));
++        if (isset($_POST['delete_forwarder']) && isset($_POST['forwarder_list'])){
++            $this->delForwarder ($_POST['forwarder_list']);
          }
  
  
@@ -24,7 +26,7 @@ Abstract:
          }
          if (isset($_POST['delete_alternate']) && isset($_POST['alternates_list'])){
 -            $this->delAlternate (get_post('alternates_list'));
-+            $this->delAlternate ($_POST('alternates_list'));
++            $this->delAlternate ($_POST['alternates_list']);
          }
  
- 
\ No newline at end of file
+ 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/gosa.git



More information about the debian-edu-commits mailing list