Page 1 of 1

HTML typo causing a MySQL error....

Posted: Fri Jan 13, 2006 5:13 am
by tgutwin
In the new user dialog there is a typo "'" character inside the
MonitorIds input field

Code: Select all

<input type="text" name="new_user['MonitorIds]"
see the ' char right before the word MonitorIds

It causes the following error when the form is submitted.
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 '\'MonitorIds = '1,2'' at line 1
You can recreate the error by doing the following:
open up the 'users' tab in options dialog then
click the 'add new user'
view the source and scroll right to the bottom....

That'll be an easy fix.

Posted: Fri Jan 13, 2006 12:30 pm
by zoneminder
Thanks. I've updated it ready for the next release.