Skip to content

Commit

Permalink
Merge pull request #29 from steven7mwesigwa/master
Browse files Browse the repository at this point in the history
Error fix: (Can't find any repo with the name {epitome} for BitBucket in your config file.)
  • Loading branch information
Wanchai authored Jul 14, 2020
2 parents 73e89a3 + f691d79 commit b4fe4d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ftpbucket/BBjson.php
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
}
Expand Down

0 comments on commit b4fe4d7

Please sign in to comment.