Fix fatal error on skill_card
This commit is contained in:
parent
1b98d99434
commit
48a8ce6612
1 changed files with 1 additions and 1 deletions
|
|
@ -408,7 +408,7 @@ class Skill extends CommonObject
|
|||
$this->lines = array();
|
||||
require_once __DIR__ . '/skilldet.class.php';
|
||||
$skilldet = new Skilldet($this->db);
|
||||
$this->lines = $skilldet->fetchAll('ASC', '', '', '', array('fk_skill' => $this->id), '');
|
||||
$this->lines = $skilldet->fetchAll('ASC', '', '', '', 'fk_skill:=:'.$this->id, '');
|
||||
|
||||
if (is_array($this->lines)) {
|
||||
return (count($this->lines) > 0) ? $this->lines : array();
|
||||
|
|
|
|||
Loading…
Reference in a new issue