Various new features.
This commit is contained in:
parent
ad68f515e0
commit
36e6e23a68
14 changed files with 437 additions and 523 deletions
|
@ -16,7 +16,7 @@ class DJ
|
|||
private string $created = "";
|
||||
private string $updated = "";
|
||||
private string $claimed_by = "";
|
||||
private $db = null;
|
||||
private mysqli $db;
|
||||
|
||||
|
||||
public function __construct($value, $db)
|
||||
|
@ -125,8 +125,8 @@ class DJ
|
|||
if (isset($dj['created'])) {
|
||||
$this->created = $dj['created'];
|
||||
}
|
||||
if (isset($dj['updated'])) {
|
||||
$this->updated = $dj['updated'];
|
||||
if (isset($dj['lastupdated'])) {
|
||||
$this->updated = $dj['lastupdated'];
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue