Forumlar / Cotonti / Support / SQL error when i go on user details without &id=1

DemptD
#13215 2009-06-15 04:01
When i go to:

http://www.site.in/users.php?m=details

I get SQL error:
2009-06-14 14:58
Fatal error : SQL error : 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 '' at line 1

But when i go to:

http://www.site.in/users.php?m=details&id=1

It works just fine

What could be wrong?