[Tickets #5062] Report error - Count not in index

bugs@bugs.horde.org bugs at bugs.horde.org
Sun Mar 4 01:46:29 PST 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=5062
-----------------------------------------------------------------------
 Ticket             | 5062
 Created By         | x3n at molinier.eu
 Summary            | Report error - Count not in index
 Queue              | Trean
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Owners             | 
-----------------------------------------------------------------------


x3n at molinier.eu (2007-03-04 01:46) wrote:

There is a little bug when I want to display a report for my few bookmarks
(3 in 2 directories).

templates/report.php:7 $count = $row['count'];

The index 'count' does'nt exist, but actually a little print_r($row) shows
that count(*) exists. I assume it's directly coming from an SQL query...

In the file lib/Bookmarks.php:198 The SQL query shows a simple COUNT(*). I
propose you to simple add COUNT(*) AS count

It solved the problem for, and I haven't noticed any further problem

x3n (http://www.molinier.eu)




More information about the bugs mailing list