FIX : cast int
This commit is contained in:
parent
2f329bf053
commit
ad2844d2f0
@ -931,7 +931,7 @@ class SkillRank extends CommonObject
|
|||||||
$this->lines = array();
|
$this->lines = array();
|
||||||
|
|
||||||
$objectline = new SkillRankLine($this->db);
|
$objectline = new SkillRankLine($this->db);
|
||||||
$result = $objectline->fetchAll('ASC', 'position', 0, 0, array('customsql'=>'fk_skillrank = '.$this->id));
|
$result = $objectline->fetchAll('ASC', 'position', 0, 0, array('customsql'=>'fk_skillrank = '.((int)$this->id)));
|
||||||
|
|
||||||
if (is_numeric($result)) {
|
if (is_numeric($result)) {
|
||||||
$this->error = $this->error;
|
$this->error = $this->error;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user