[packages/dokuwiki] fix notify parsing for media uploads

glen glen at pld-linux.org
Mon Jul 30 17:09:28 CEST 2012


commit 8b4b2ec3e654dd757e2c809cd21558d4ab2ffc0e
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Jul 30 17:43:51 2012 +0300

    fix notify parsing for media uploads

 dokuwiki-notifyns.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
---
diff --git a/dokuwiki-notifyns.patch b/dokuwiki-notifyns.patch
index 2f7bd7f..e153c7d 100644
--- a/dokuwiki-notifyns.patch
+++ b/dokuwiki-notifyns.patch
@@ -60,3 +60,16 @@
          $bcc  = '';
      } else {
          return false; //just to be safe
+--- dokuwiki-2012-07-19/inc/media.php~	2012-07-15 23:56:17.000000000 +0300
++++ dokuwiki-2012-07-19/inc/media.php	2012-07-30 17:02:13.070873955 +0300
+@@ -539,8 +539,9 @@
+         $trep['OLD'] = '---';
+     }
+ 
++    $to = notifyNS($id, $conf['notify']);
+     $mail = new Mailer();
+-    $mail->to($conf['notify']);
++    $mail->to($to);
+     $mail->subject($lang['mail_upload'].' '.$id);
+     $mail->setBody($text,$trep);
+     return $mail->send();


More information about the pld-cvs-commit mailing list