Project

General

Profile

Actions

Bug #3447

closed

When no users are present in user management a fatal query error is present

Added by krileon over 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
18 April 2012
Due date:
% Done:

100%

Estimated time:
1:00 h

Description

When there is an empty list of users in user management (after a delete of a single user result for example). The below fatal query error is displayed.

JDatabaseMySQLi::query: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND n.state >= 0 GROUP BY n.user_id' at line 3 SQL=SELECT n.user_id, COUNT AS note_count FROM `jos_user_notes` AS n WHERE n.user_id IN () AND n.state >= 0 GROUP BY n.user_id

The only remedy is to disable debug mode and clear the search result. It's due to the IN () (no results).


Files

3447.patch (1.48 KB) 3447.patch krileon, 18 April 2012 17:31
Actions

Also available in: Atom PDF