6.0.0-beta1
10/16/25

[#5062] Report error - Count not in index
Summary Report error - Count not in index
Queue Trean
Type Bug
State Resolved
Priority 1. Low
Owners
Requester x3n (at) molinier (dot) eu
Created 03/04/2007 (6801 days ago)
Due
Updated 03/05/2007 (6800 days ago)
Assigned
Resolved 03/05/2007 (6800 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/05/2007 05:00:03 AM Chuck Hagenbuch Comment #2
State ⇒ Resolved
Reply to this comment
Fixed in CVS, thanks!
03/04/2007 09:46:29 AM x3n (at) molinier (dot) eu Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Report error - Count not in index
Queue ⇒ Trean
Reply to this comment
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)

Saved Queries