summaryrefslogtreecommitdiff
path: root/dash/profile.php
diff options
context:
space:
mode:
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'],