Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
fix(flipping) use legacy if feature table does not exist or sql error.
Browse files Browse the repository at this point in the history
  • Loading branch information
loiclau committed Jul 26, 2018
1 parent 4ee6b4a commit d44df4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/class/centreonFeature.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public function featureActive($name, $version, $userId = null)
AND feature_version = "' . $this->db->escape($version) . '"';
$res = $this->db->query($query);
if (PEAR::isError($res)) {
return true;
return false;
}
if ($res->numRows() === 0) {
return false;
Expand Down

0 comments on commit d44df4c

Please sign in to comment.