packages: dokuwiki/task-1821.patch - avoid missing @DIFFPAGE@

glen glen at pld-linux.org
Tue Jan 12 11:20:27 CET 2010


Author: glen                         Date: Tue Jan 12 10:20:27 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- avoid missing @DIFFPAGE@

---- Files affected:
packages/dokuwiki:
   task-1821.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/dokuwiki/task-1821.patch
diff -u packages/dokuwiki/task-1821.patch:1.2 packages/dokuwiki/task-1821.patch:1.3
--- packages/dokuwiki/task-1821.patch:1.2	Mon Jan 11 13:49:33 2010
+++ packages/dokuwiki/task-1821.patch	Tue Jan 12 11:20:22 2010
@@ -14,8 +14,8 @@
          $rev1 = (int) $_REQUEST['rev2'][0];
          $rev2 = (int) $_REQUEST['rev2'][1];
  
---- dokuwiki/inc/common.php~	2010-01-11 14:48:54.000000000 +0200
-+++ dokuwiki/inc/common.php	2010-01-11 14:48:58.213308444 +0200
+--- dokuwiki/inc/common.php	2010-01-11 14:48:58.213308444 +0200
++++ dokuwiki/inc/common.php	2010-01-12 12:18:39.000000000 +0200
 @@ -1128,6 +1128,8 @@
    }elseif($rev){
      $subject = $lang['mail_changed'].' '.$id;
@@ -25,3 +25,11 @@
      require_once(DOKU_INC.'inc/DifferenceEngine.php');
      $df  = new Diff(explode("\n",rawWiki($id,$rev)),
                      explode("\n",rawWiki($id)));
+@@ -1136,6 +1138,7 @@
+   }else{
+     $subject=$lang['mail_newpage'].' '.$id;
+     $text = str_replace('@OLDPAGE@','none',$text);
++    $text = str_replace('@DIFFPAGE@','none',$text);
+     $diff = rawWiki($id);
+   }
+   $text = str_replace('@DIFF@',$diff,$text);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/dokuwiki/task-1821.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list