Fixes #38: incorrect response from server
Server had been returning number of affected rows minus one: either 0, or -1. This value is converted to bool (res == 0), and js displayed an error.
Showing
- db/StoredFunctions.sql 1 addition, 1 deletiondb/StoredFunctions.sql
- ~dev_rating/application/classes/Controller/Handler/Map.php 2 additions, 2 deletions~dev_rating/application/classes/Controller/Handler/Map.php
- ~dev_rating/application/classes/Model/Map.php 10 additions, 2 deletions~dev_rating/application/classes/Model/Map.php
Please register or sign in to comment