Bug 9048 - fix quote editor under Plack
commit88f0735be3fffc86be7875ea908b66d882118f99
authorRobin Sheat <robin@catalyst.net.nz>
Wed, 30 Apr 2014 03:33:44 +0000 (30 15:33 +1200)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 8 May 2014 16:15:27 +0000 (8 16:15 +0000)
tree22e871de0135273553b091f0138617e5017f2da3
parent76cfc45682c1c08a4db777428e8ed163bc578a50
Bug 9048 - fix quote editor under Plack

The ajax responder for the quote editor was using the wrong error codes.
These have been fixed. Also, a small fixup to get rid of some annoying
warnings.

To test:
* Under plack,
* Add/edit/delete a quote.
* Make sure that things don't crash.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
tools/quotes/quotes_ajax.pl