com web/rmtools: fix undefined var notice when no upload happened: client/script/pecl.php
| From: | Anatol Belski | Date: | Sat, 28 Sep 2013 23:47:51 +0000 |
| Subject: | com web/rmtools: fix undefined var notice when no upload happened: client/script/pecl.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-19144@lists.php.net to get a copy of this message | ||
Commit: c38e9244d05675f0aa325c05fec5a7d4ba214323
Author: Anatol Belski <ab@php.net> Sun, 29 Sep 2013 01:47:51 +0200
Parents: 5d6019243a5aa10e4f73bddbd20fe6a831e63411
Branches: master
Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=c38e9244d05675f0aa325c05fec5a7d4ba214323
Log:
fix undefined var notice when no upload happened
Changed paths:
M client/script/pecl.php
Diff:
diff --git a/client/script/pecl.php b/client/script/pecl.php
index 032e9a6..1140917 100644
--- a/client/script/pecl.php
+++ b/client/script/pecl..php
@@ -426,7 +426,7 @@ if ($is_last_run) {
$open .= "For each build combination and status please refer to the list below.";
$close = "";
- if ($upload) {
+ if ($upload && isset($upload_success)) {
$close = "Upload status: ";
if ($upload_success) {
$close .= "succceeded\n";