]> git.pld-linux.org Git - packages/dokuwiki.git/commitdiff
fix notify parsing for media uploads
authorElan Ruusamäe <glen@delfi.ee>
Mon, 30 Jul 2012 14:43:51 +0000 (17:43 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 30 Jul 2012 14:43:51 +0000 (17:43 +0300)
dokuwiki-notifyns.patch

index 2f7bd7fa40b3484372f8bc724f7cd455aa0f5b9d..e153c7dc9d545f7e5601c986deb77d3764296343 100644 (file)
          $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();
This page took 0.097053 seconds and 4 git commands to generate.