From 7ae8f9463d749dd1a0940ee87628e4d186f9fe72 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Sat, 13 Jul 2019 04:14:01 +0100 Subject: [PATCH] /opt/nb/www/dbq/etc/nginx.conf --- lib/php/db/table.php | 2 +- www/dbq/etc/nginx.conf | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/php/db/table.php b/lib/php/db/table.php index b3bc44d7..94c3dc15 100644 --- a/lib/php/db/table.php +++ b/lib/php/db/table.php @@ -1385,7 +1385,7 @@ Class Table extends nb { $this->tot = $opt['tot'] = $tot; } # < is_html - if (!isset($opt['tot'])) $opt['tot'] = $opt['count']; + if (!isset($opt['tot'])) $this->tot = $opt['tot'] = $opt['count']; if ($count === 0 and !$format) { echo $this->{"rows_begin_$format"}($fields,$opt); diff --git a/www/dbq/etc/nginx.conf b/www/dbq/etc/nginx.conf index 947f19a5..3a4b55c5 100644 --- a/www/dbq/etc/nginx.conf +++ b/www/dbq/etc/nginx.conf @@ -45,6 +45,7 @@ location ~ /index\.php$ { if ($DBQ_CONF_DIR = "") { set $DBQ_CONF_DIR ""; } fastcgi_param DBQ_CONF_DIR $DBQ_CONF_DIR; + if ($DBQ_PERM = "") { set $DBQ_PERM ""; } fastcgi_param DBQ_PERM $DBQ_PERM; if ($DBQ_PROD = "") { set $DBQ_PROD ""; } -- 2.47.3