modifs.mineures sans commentaires

This commit is contained in:
Jephté Clain 2024-05-06 18:04:24 +04:00
parent f2d6c72a2e
commit 5f2019cce2
2 changed files with 6 additions and 1 deletions

5
src/db/filters.php Normal file
View File

@ -0,0 +1,5 @@
<?php
namespace nur\sery\db;
class filters {
}

View File

@ -114,7 +114,7 @@ class _Query {
} }
} else { } else {
$cols = null; $cols = null;
if ($schema && is_array($schema)) { if ($schema && is_array($schema) && !in_array("*", $usercols)) {
$cols = array_keys($schema); $cols = array_keys($schema);
$usercols = array_merge($usercols, $cols); $usercols = array_merge($usercols, $cols);
} }