From dede6fff88e68654846b404e421ce3e4aa65bc84 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Fri, 5 Jan 2018 04:50:32 +0000 Subject: [PATCH] www/dbq/html/default.css --- lib/php/nb.php | 4 +++- www/dbq/html/default.css | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/php/nb.php b/lib/php/nb.php index f97793cf..60700b65 100644 --- a/lib/php/nb.php +++ b/lib/php/nb.php @@ -1186,7 +1186,9 @@ class NB { } public static function is_binary($v) { - return (preg_match('~[^\x20-\x7E\t\r\n]~', $v) > 0 ? true : false); + #return is_binary($v); + return (strpos($v, "\0") !== false); +# NB 05.01.18 return (preg_match('~[^\x20-\x7E\t\r\n]~', $v) > 0 ? true : false); } } # < Class NB diff --git a/www/dbq/html/default.css b/www/dbq/html/default.css index 5b2f51e6..f19de209 100644 --- a/www/dbq/html/default.css +++ b/www/dbq/html/default.css @@ -201,7 +201,6 @@ table.rows tr:last-child td { padding-bottom: 0; } div.row div { margin: 0; } div.row { float: left; - white-space: nowrap; padding: 0.5em; margin-right: 0.5em; } -- 2.47.3