Ticket #415: show_log.dif

File show_log.dif, 0.6 kB (added by ChristianB, 7 months ago)

patch for show_log.php

Line 
1 Index: html/ops/show_log.php
2 ===================================================================
3 --- html/ops/show_log.php       (Revision 14437)
4 +++ html/ops/show_log.php       (Arbeitskopie)
5 @@ -8,18 +8,18 @@
6      exit("Error: couldn't get log_dir from config file.");
7  }
8  
9 -if( isset($_GET!["f"]) ){
10 -   $f = $_GET!["f"];
11 +if( isset($_GET["f"]) ){
12 +   $f = $_GET["f"];
13  } else {
14     $f = "";
15  }
16 -if( isset($_GET!["s"]) ){
17 -    $s = $_GET!["s"];
18 +if( isset($_GET["s"]) ){
19 +    $s = $_GET["s"];
20  } else {
21      $s = "";
22  }
23 -if( isset($_GET!["l"]) ){
24 -    $l = (int)$_GET!["l"];
25 +if( isset($_GET["l"]) ){
26 +    $l = (int)$_GET["l"];
27  } else {
28      $l = 0;
29  }

If this page is incomplete or incorrect, please edit it or add it to the wiki to-do list. To do this, you must be logged in; click Login or Register above.