]> git.pld-linux.org Git - packages/dokuwiki.git/blob - task-1821.patch
- add diff url to email
[packages/dokuwiki.git] / task-1821.patch
1 --- dokuwiki/inc/html.php~      2010-01-11 14:35:04.000000000 +0200
2 +++ dokuwiki/inc/html.php       2010-01-11 14:35:07.213389784 +0200
3 @@ -862,8 +862,12 @@
4      // given as rev and rev2 parameters, with rev2 being optional. Or in an
5      // array in rev2.
6      $rev1 = $REV;
7 +       // handle $r1 + $r2, see DW #1821
8 +       if (isset($_REQUEST['r1']) && isset($_REQUEST['r2'])) {
9 +        $rev1 = (int) $_REQUEST['r1'];
10 +        $rev2 = (int) $_REQUEST['r2'];
11  
12 -    if(is_array($_REQUEST['rev2'])){
13 +       } else if(is_array($_REQUEST['rev2'])){
14          $rev1 = (int) $_REQUEST['rev2'][0];
15          $rev2 = (int) $_REQUEST['rev2'][1];
16  
This page took 0.079292 seconds and 3 git commands to generate.