aboutsummaryrefslogtreecommitdiffstats
path: root/include/account.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-05-05 19:34:56 -0700
committerfriendica <info@friendica.com>2013-05-05 19:34:56 -0700
commit6f04a7e07033c8ca06df47defe1839d5763f1ee6 (patch)
tree8ea9d590d84335ef5eaa60a66eb1a707c46276ff /include/account.php
parentef07b71bc7972f79a7e5c1001a8c31d75b0cca68 (diff)
downloadvolse-hubzilla-6f04a7e07033c8ca06df47defe1839d5763f1ee6.tar.gz
volse-hubzilla-6f04a7e07033c8ca06df47defe1839d5763f1ee6.tar.bz2
volse-hubzilla-6f04a7e07033c8ca06df47defe1839d5763f1ee6.zip
minor fixes related to postgres development
Diffstat (limited to 'include/account.php')
-rw-r--r--include/account.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/account.php b/include/account.php
index 6f3499a0f..1b45a1244 100644
--- a/include/account.php
+++ b/include/account.php
@@ -107,7 +107,8 @@ function create_account($arr) {
$parent = ((x($arr,'parent')) ? intval($arr['parent']) : 0 );
$flags = ((x($arr,'account_flags')) ? intval($arr['account_flags']) : ACCOUNT_OK);
$roles = ((x($arr,'account_roles')) ? intval($arr['account_roles']) : 0 );
-
+ $expires = ((x($arr,'expires')) ? intval($arr['expires']) : '0000-00-00 00:00:00');
+
$default_service_class = get_config('system','default_service_class');
if($default_service_class === false)
$default_service_class = '';