From ed270566b6daa11c2fdbd297fb06639abf5ce997 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Thu, 22 Jun 2023 13:18:17 +0700 Subject: [PATCH] Minor improvements (#814) --- library/defines.php | 2 +- styles/templates/default/viewtopic.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/library/defines.php b/library/defines.php index 7aad1b192..573d3b052 100644 --- a/library/defines.php +++ b/library/defines.php @@ -81,7 +81,7 @@ define('LOG_MAX_SIZE', 1048576); // bytes ini_set('error_reporting', E_ALL); ini_set('display_errors', 0); ini_set('display_startup_errors', 0); -define('MYSQLI_ERROR_REPORTING', MYSQLI_REPORT_ALL ^ MYSQLI_REPORT_STRICT); +define('MYSQLI_ERROR_REPORTING', MYSQLI_REPORT_ERROR); ini_set('log_errors', 1); ini_set('error_log', LOG_DIR . '/php_errors.log'); // path to log file enabled only if log_errors == 1 (native) define('WHOOPS_LOG_FILE', LOG_DIR . '/php_whoops.log'); // log file enabled only if log_errors == 1 (whoops) diff --git a/styles/templates/default/viewtopic.tpl b/styles/templates/default/viewtopic.tpl index 4a993d0dd..75c754239 100644 --- a/styles/templates/default/viewtopic.tpl +++ b/styles/templates/default/viewtopic.tpl @@ -364,7 +364,7 @@ function build_poll_add_form (src_el)

{postrow.POSTER_RANK}

{postrow.RANK_IMAGE}

{postrow.POSTER_AVATAR}

-

{L_GENDER}: {postrow.POSTER_GENDER}

+

{L_GENDER}: {postrow.POSTER_GENDER}

{L_LONGEVITY}: {postrow.POSTER_JOINED}

{L_POSTS}: {postrow.POSTER_POSTS}

{L_LOCATION}: {postrow.POSTER_FROM}