From 8e22e72b2ec5d2f61fe8da57d310c11f43fc6587 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Sat, 18 May 2013 02:52:15 +0100 Subject: Typo --- doc/Install.md | 2 +- mod/profiles.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/Install.md b/doc/Install.md index 5ce6950bd..9882ff3a9 100644 --- a/doc/Install.md +++ b/doc/Install.md @@ -11,7 +11,7 @@ Before you begin: Choose a domain name or subdomain name for your server. - Apache with mod-rewrite enabled and "Options All" so you can use a local .htaccess file - - PHP 5.3 + - PHP 5.3 or later - PHP *command line* access with register_argc_argv set to true in the php.ini file - curl, gd, mysql, and openssl extensions diff --git a/mod/profiles.php b/mod/profiles.php index e7cc01b4e..ff6bc8ff6 100644 --- a/mod/profiles.php +++ b/mod/profiles.php @@ -447,7 +447,7 @@ function profiles_post(&$a) { $channel = $a->get_channel(); if($namechanged && $is_default) { - $r = q("UPDATE xchan SET xchan_name = '%s', xchan_name_date` = '%s' WHERE xchan_hash = '%s' limit 1", + $r = q("UPDATE xchan SET xchan_name = '%s', xchan_name_date = '%s' WHERE xchan_hash = '%s' limit 1", dbesc($name), dbesc(datetime_convert()), dbesc($channel['xchan_hash']) -- cgit v1.2.3