]> git.pld-linux.org Git - packages/dokuwiki.git/commitdiff
- avoid missing @DIFFPAGE@
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 12 Jan 2010 10:20:22 +0000 (10:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    task-1821.patch -> 1.3

task-1821.patch

index 6c0eacba1d4f7c370c2bbde7c5c228c8ba0cb9e5..cb576def352ff8a819c4c7baf13a924b0ca079bc 100644 (file)
@@ -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;
      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);
This page took 0.031516 seconds and 4 git commands to generate.