This commit is contained in:
friendica 2013-05-18 01:27:14 -07:00
commit 367b21f886
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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'])