com web/rmtools: Fix exception msg: include/Branch.php
| From: | Anatol Belski | Date: | Fri, 15 Sep 2017 19:01:51 +0000 |
| Subject: | com web/rmtools: Fix exception msg: include/Branch.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-26405@lists.php.net to get a copy of this message | ||
Commit: 2b498ff0c5cd112f8e146e9ed5cf93878ffb2b01
Author: Anatol Belski <ab@php.net> 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) {