Ticket #71 (closed Bug report: fixed)

Opened 14 years ago

Last modified 13 years ago

Unset variables : date_from & date_to

Reported by: Prospere Owned by: max-horvath
Priority: lowest Milestone: WifiDog Auth Server 1.0
Component: Auth server, Other Version: Auth Server SVN
Keywords: Cc:

Description

These variables are not weel passed by "online_users.php" when you click on the username to show his statistics.

Notice: Undefined index: date_from Notice: Undefined index: date_to

Change History

Changed 14 years ago by Prospere

SVN release seems to correct this bugs. We can close the Ticket.

Changed 14 years ago by max-horvath

  • status changed from new to closed
  • resolution set to fixed
  • version set to Auth Server SVN
  • component changed from Auth server: Authentication to Auth server: General
  • milestone set to WifiDog Auth Server 1.0

Changed 14 years ago by max-horvath

  • status changed from closed to reopened
  • resolution fixed deleted

Well, wasn't really fixed in current SVN version, but I did a proper fix in my current development version - so it'll be fixed when I'll commit my changes ...

Changed 14 years ago by max-horvath

  • owner set to max-horvath
  • status changed from reopened to new

Changed 14 years ago by max-horvath

  • status changed from new to assigned

Changed 14 years ago by max-horvath

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

Changed 13 years ago by pod@…

  • status changed from closed to reopened
  • resolution fixed deleted

templates/user_log.html appears to have the same problem. Adding '&date_from=&date_to=' to the stats.php url fixes it.

Changed 13 years ago by fproulx

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

This was fixed a long time ago. Make sure you are running the very latest SVN build.

Changed 13 years ago by prospere

  • status changed from closed to reopened
  • resolution fixed deleted

The problem still exists line 226 in classes/StatisticReport/UserReport.php

Just add this to avoid the warnings :

$date_to = ""; $date_from = "";

if (isset($_REQUESTdate_to?)) {

$date_to = $_REQUESTdate_to?;

}

if (isset($_REQUESTdate_from?)) {

$date_from = $_REQUESTdate_from?;

}

Changed 13 years ago by prospere

  • status changed from reopened to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.