forked from GNUsocial/gnu-social
change erroneous common_sql_time() to common_sql_date()
This commit is contained in:
parent
e39e6cdcc5
commit
48839a1fcf
@ -202,7 +202,7 @@ class SalmonAction extends Action
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($this->act->time)) {
|
if (!empty($this->act->time)) {
|
||||||
$options['created'] = common_sql_time($this->act->time);
|
$options['created'] = common_sql_date($this->act->time);
|
||||||
}
|
}
|
||||||
|
|
||||||
$saved = Notice::saveNew($oprofile->profile_id,
|
$saved = Notice::saveNew($oprofile->profile_id,
|
||||||
|
Loading…
Reference in New Issue
Block a user