From 37c99c0646b2a93f839b4fbda16da183e9fa5f7c Mon Sep 17 00:00:00 2001 From: Carson Fleming Date: Tue, 3 Jun 2025 02:38:41 -0400 Subject: php8 tweaks --- dash/profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dash/profile.php') 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'], -- cgit v1.2.3