Fixed static call of not static method
This commit is contained in:
parent
51e294acc2
commit
4a7f884fb6
|
@ -107,7 +107,7 @@ class Database
|
|||
*
|
||||
* @return string SQL string to use
|
||||
*/
|
||||
public function makeSetString(\PDO $db, ? string $input) : string
|
||||
public static function makeSetString(\PDO $db, ? string $input) : string
|
||||
{
|
||||
if ($input === null || $input === '') {
|
||||
return '(\'\')';
|
||||
|
|
|
@ -24,8 +24,6 @@ test.run(async function () {
|
|||
|
||||
assert.equal(res.status, 200);
|
||||
|
||||
console.log(res.data);
|
||||
|
||||
var sortedData = res.data.results.slice();
|
||||
sortedData.sort(function (a, b) {
|
||||
for (sort of list) {
|
||||
|
|
Loading…
Reference in a new issue