Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
RuntimeException:
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 'LIMIT 0,1' at line 3 (1064)

SQL:
SELECT Username
FROM 53x_Users
WHERE PortalUserId =
LIMIT 0,1  

Here is the stack trace:

It seems, that during some kind of refactoring we've left $user_id variable, but have never put any value in it.

Related Tasks