svn: /pear2/sandbox/Pyrus_WebFrontend/trunk/src/pear2/Pyrus/WebFrontend/ DiscoverChannel.php EditConfiguration.php InstallPackage.php
| From: | Brett Bieber | Date: | Thu, 22 Jul 2010 18:31:45 +0000 |
| Subject: | svn: /pear2/sandbox/Pyrus_WebFrontend/trunk/src/pear2/Pyrus/WebFrontend/ DiscoverChannel.php EditConfiguration.php InstallPackage.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-9600@lists.php.net to get a copy of this message | ||
saltybeagle Thu, 22 Jul 2010 18:31:45 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=301477
Log:
Switch from isset to !empty
Changed paths:
U pear2/sandbox/Pyrus_WebFrontend/trunk/src/pear2/Pyrus/WebFrontend/DiscoverChannel.php
U pear2/sandbox/Pyrus_WebFrontend/trunk/src/pear2/Pyrus/WebFrontend/EditConfiguration.php
U pear2/sandbox/Pyrus_WebFrontend/trunk/src/pear2/Pyrus/WebFrontend/InstallPackage.php
Modified: pear2/sandbox/Pyrus_WebFrontend/trunk/src/pear2/Pyrus/WebFrontend/DiscoverChannel.php
===================================================================
--- pear2/sandbox/Pyrus_WebFrontend/trunk/src/pear2/Pyrus/WebFrontend/DiscoverChannel.php 2010-07-22
18:21:43 UTC (rev 301476)
+++ pear2/sandbox/Pyrus_WebFrontend/trunk/src/pear2/Pyrus/WebFrontend/DiscoverChannel.php 2010-07-22
18:31:45 UTC (rev 301477)
@@ -4,7 +4,7 @@
{
function __construct($options = array())
{
- if (isset($_POST)) {
+ if (!empty($_POST)) {
$this->handlePost();
}
}
Modified: pear2/sandbox/Pyrus_WebFrontend/trunk/src/pear2/Pyrus/WebFrontend/EditConfiguration.php
===================================================================
---
pear2/sandbox/Pyrus_WebFrontend/trunk/src/pear2/Pyrus/WebFrontend/EditConfiguration.php 2010-07-22
18:21:43 UTC (rev 301476)
+++
pear2/sandbox/Pyrus_WebFrontend/trunk/src/pear2/Pyrus/WebFrontend/EditConfiguration.php 2010-07-22
18:31:45 UTC (rev 301477)
@@ -7,7 +7,7 @@
function __construct($options = array())
{
$this->config = Controller::getConfig();
- if (isset($_POST)) {
+ if (!empty($_POST)) {
$this->handlePost();
}
}
Modified: pear2/sandbox/Pyrus_WebFrontend/trunk/src/pear2/Pyrus/WebFrontend/InstallPackage.php
===================================================================
--- pear2/sandbox/Pyrus_WebFrontend/trunk/src/pear2/Pyrus/WebFrontend/InstallPackage.php 2010-07-22
18:21:43 UTC (rev 301476)
+++ pear2/sandbox/Pyrus_WebFrontend/trunk/src/pear2/Pyrus/WebFrontend/InstallPackage.php 2010-07-22
18:31:45 UTC (rev 301477)
@@ -4,7 +4,7 @@
{
function __construct($options)
{
- if (isset($_POST)) {
+ if (!empty($_POST)) {
$this->handlePost();
}
}