Skip to content

Commit

Permalink
fix fatal error on unitialized var in dropdownInstallVersion.php
Browse files Browse the repository at this point in the history
  • Loading branch information
orthagh committed Oct 4, 2016
1 parent fe7b441 commit 24eecf6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ajax/dropdownInstallVersion.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
$result = $DB->query($query);
$number = $DB->numrows($result);

$values = array();
if ($number) {
while ($data = $DB->fetch_assoc($result)) {
$ID = $data['id'];
Expand Down

0 comments on commit 24eecf6

Please sign in to comment.