concrete5/concrete5 — pull request #1595 by ojalehto (2014-02-10 13:29:35+00:00)
Title: Fix errors on form questions remove

* **Change the way ids are passed to db query.**
Ids were joined with comma and passed to sanitation. That caused incorrect sql queries, e.g.
```...msqID IN ('1,2')...```
Fixes issue https://github.com/concrete5/concrete5/issues/1574
Now those are not passed via sanitation as they are passed through intval in previous lines.

* **Fix incorrect variable name in auto.js, throwed an error from undefined variable.**