diff --git a/ftpbucket/BBjson.php b/ftpbucket/BBjson.php index f398f00..45c67ed 100644 --- a/ftpbucket/BBjson.php +++ b/ftpbucket/BBjson.php @@ -49,7 +49,7 @@ private function load_config() { // --- Checks if the repo from BB match one of yours --- // // Loop through configs and find a matching one foreach ( $config['repos'] as $repo ) { - if ( strpos($payload_repo_name, $repo['repo_name']) != false && $repo['repo_host'] == 'bitbucket' ) { + if ( strpos($payload_repo_name, $repo['repo_name']) !== false && $repo['repo_host'] == 'bitbucket' ) { $this->config->ftp = $repo; $check++; }