Commit:    2b498ff0c5cd112f8e146e9ed5cf93878ffb2b01
Author:    Anatol Belski <[email protected]>         Fri, 15 Sep 2017 21:01:51 +0200
Parents:   89296f7a9eaecd03fe4c62737f6ba10bd5e1271c
Branches:  master

Link:       
http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=2b498ff0c5cd112f8e146e9ed5cf93878ffb2b01

Log:
Fix exception msg

Changed paths:
  M  include/Branch.php


Diff:
diff --git a/include/Branch.php b/include/Branch.php
index 31e5be1..c6eefb3 100644
--- a/include/Branch.php
+++ b/include/Branch.php
@@ -68,7 +68,7 @@ class Branch {
                if (!empty($builds)) {
                        if ($build_name) {
                                if (in_array($build_name, $this->data->builds) 
&& $this->hasUnfinishedBuild()) {
-                                       throw new \Exception("Builds for '$n' 
are already done or in progress");
+                                       throw new \Exception("Builds for 
'$build_name' are already done or in progress");
                                }
                                $found = 0;
                                foreach ($builds as $n => $v) {


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to