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}