1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2025-07-31 10:04:20 +03:00

composer format time

This commit is contained in:
David Goodwin
2019-10-19 21:36:27 +01:00
parent 87824ef970
commit bcae218cbb
4 changed files with 6 additions and 7 deletions

View File

@ -548,7 +548,7 @@ function create_page_browser($idxfield, $querypart, $sql_params = []) {
if (db_sqlite()) {
$end = $idxfield;
if(strpos($idxfield, '.') !== false) {
if (strpos($idxfield, '.') !== false) {
$bits = explode('.', $idxfield);
$end = $bits[1];
}
@ -1911,7 +1911,6 @@ function db_in_clause($field, array $values) {
* This also means you'll need to set a (dummy) condition for NULL and NOTNULL.
*/
function db_where_clause(array $condition, array $struct, $additional_raw_where = '', array $searchmode = array()) {
if (count($condition) == 0 && trim($additional_raw_where) == '') {
throw new Exception("db_where_cond: parameter is an empty array!");
}