summaryrefslogtreecommitdiff
path: root/dash/profile.php
diff options
context:
space:
mode:
authorCarson Fleming <cflems@cflems.net>2025-06-03 02:38:41 -0400
committerCarson Fleming <cflems@cflems.net>2025-06-03 02:38:41 -0400
commit37c99c0646b2a93f839b4fbda16da183e9fa5f7c (patch)
treefffbe2f1d50971967a32c681c95132d965c9e485 /dash/profile.php
parent3f80bcbc08ab05013af9e322bbb1a2216ce58dbb (diff)
downloadbulletin-master.tar.gz
php8 tweaksHEADmaster
Diffstat (limited to 'dash/profile.php')
-rw-r--r--dash/profile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/dash/profile.php b/dash/profile.php
index a59109c..40e43c4 100644
--- a/dash/profile.php
+++ b/dash/profile.php
@@ -75,7 +75,7 @@ $result->free();
} else if (!empty($_POST['chprofile'])) {
$bio = empty($_POST['bio']) ? 'NULL' : '\''.$db->escape_string($_POST['bio']).'\'';
// Address validation
- $addr = array_map(trim, array(
+ $addr = array_map('trim', array(
$_POST['address1'],
$_POST['address2'],
$_POST['addrcity'],