Ticket #189 (closed Bug report: fixed)

Opened 14 years ago

Last modified 13 years ago

Patch : remove debug output in Statistics.php

Reported by: drazzib@… Owned by:
Priority: low Milestone: WifiDog Auth Server 1.0
Component: Auth server, Usability, Interface and translations Version: Auth Server SVN
Keywords: debug output Cc:

Description

Hi,

The following patch remove unnecessary debug output in Statistics.php.

--- classes/Statistics.php.orig 2006-07-23 00:34:25.000000000 +0200 +++ classes/Statistics.php 2006-07-23 00:34:57.000000000 +0200 @@ -542,7 +542,7 @@

global $db;

$username = $db->escapeString($_REQUESTstats_selected_users?); $row = null;

- $db->execSqlUniqueRes("SELECT user_id FROM users WHERE username='$username'", $row, true); + $db->execSqlUniqueRes("SELECT user_id FROM users WHERE username='$username'", $row, false);

if ($row) {

$user_id = $rowuser_id?;

Cheers,

Attachments

remove_debug_Statistics.diff Download (0.6 KB) - added by drazzib@… 14 years ago.
Patch at the right format

Change History

Changed 14 years ago by drazzib@…

Patch at the right format

Changed 14 years ago by drazzib@…

Please take the attached file into account instead of the data in orig. ticket.

Changed 13 years ago by benoitg

  • status changed from new to closed
  • resolution set to fixed

Fixed in [1087]

Changed 13 years ago by max-horvath

  • keywords debug output added
  • milestone set to WifiDog Auth Server 1.0
Note: See TracTickets for help on using tickets.