Fix check for null

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2017-07-31 16:42:02 +02:00
parent e85fc1cdff
commit f96886a445

View File

@ -548,7 +548,7 @@ function PMA_pluginGetOptions($section, &$list)
$ret .= '<h3>' . PMA_getString($text) . '</h3>';
$no_options = true;
if ($options != null && count($options) > 0) {
if (! is_null($options) && count($options) > 0) {
foreach ($options->getProperties()
as $propertyMainGroup
) {