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

Commit

Permalink
fix(clapi) authorize id 0
Browse files Browse the repository at this point in the history
  • Loading branch information
loiclau authored and ganoze committed Oct 27, 2017
1 parent e6d9605 commit 53f32aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/class/centreon-clapi/centreonCentbrokerCfg.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ private function listFlow($configId, $tagName, $args)
*/
private function getFlow($configId, $tagName, $args)
{
if (!isset($args[1]) || !$args[1]) {
if (!isset($args[1]) || $args[1] == '') {
throw new CentreonClapiException(self::MISSINGPARAMETER);
}

Expand Down

0 comments on commit 53f32aa

Please sign in to comment.