Review
null_date and spaces at end of line
This commit is contained in:
parent
6ea8b0441b
commit
130e02ddef
|
@ -103,7 +103,7 @@ class Contact extends BaseObject
|
|||
dba::update('contact', array('term-date' => datetime_convert()), array('id' => $contact['id']));
|
||||
|
||||
if ($contact['url'] != '') {
|
||||
dba::update('contact', array('term-date' => datetime_convert()), array('`nurl` = ? AND `term-date` <= 1000-00-00', normalise_link($contact['url'])));
|
||||
dba::update('contact', array('term-date' => datetime_convert()), array('`nurl` = ? AND `term-date` <= ?', normalise_link($contact['url']), NULL_DATE));
|
||||
}
|
||||
} else {
|
||||
/* @todo
|
||||
|
|
Loading…
Reference in a new issue