com web/rmtools: fix undefined var warning: client/script/pecl.php

From: Date: Tue, 01 Oct 2013 15:33:04 +0000
Subject: com web/rmtools: fix undefined var warning: client/script/pecl.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-19137@lists.php.net to get a copy of this message
Commit: 290b6189c9d0476412fc0dd9067d4c84a11df698 Author: Anatol Belski <ab@php.net> Tue, 1 Oct 2013 17:33:04 +0200 Parents: a031898475f2f20115cf6d316537e00a371c5ef1 Branches: master Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=290b6189c9d0476412fc0dd9067d4c84a11df698 Log: fix undefined var warning Changed paths: M client/script/pecl.php Diff: diff --git a/client/script/pecl.php b/client/script/pecl.php index 1e4ffab..350edff 100644 --- a/client/script/pecl.php +++ b/client/script/pecl.php @@ -375,7 +375,7 @@ Coventry: } $build->clean(); - $ext->cleanup($upload && $upload_success); + $ext->cleanup($upload && isset($upload_success) && $upload_success); if (isset($toupload_dir)) { rm\rmdir_rf($toupload_dir); }

« previous php.webmaster (#19137) next »