mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2025-02-04 10:18:25 +00:00
hits for postgres
This commit is contained in:
parent
b9330b42a9
commit
9b9e42ff5d
@ -90,6 +90,11 @@ class WeblinkTable extends Table implements VersionableTableInterface, TaggableT
|
||||
{
|
||||
$this->created_by = $user->id;
|
||||
}
|
||||
|
||||
if (empty($this->hits))
|
||||
{
|
||||
$this->hits = 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Set publish_up to null date if not set
|
||||
|
Loading…
x
Reference in New Issue
Block a user