2
0
forked from Wavyzz/dolibarr
Files
dolibarr-fork/htdocs/modulebuilder/template/class
werewolf7160 83f24e6fd2 call to createCommon() return int and not bool
with generated Object, the post request call to createCommon() in it and taht function return a int (id or -1 if error).
but the test on the returned value is a '!', that don't return false on "-1".
a post request with an sql error for example(foreign key error for my test), will always return 200 instead of 500 with the error
2021-02-06 00:21:53 +01:00
..
2020-05-21 00:02:33 +02:00