Skip to content

Commit 917cdb6

Browse files
committed
Relation to #876
1 parent ef42d1e commit 917cdb6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

manager/includes/extenders/dbapi.mysqli.class.inc.php

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ public function getValue($dsq)
565565
}
566566
if ($dsq) {
567567
$r = $this->getRow($dsq, 'num');
568-
$out = isset($r[0]) ? $r[0] : false;
568+
$out = is_array($r) && array_key_exists(0, $r) ? $r[0] : false;
569569
}
570570

571571
return $out;

0 commit comments

Comments
 (0)