Undefined Indexes
-
Hi, i’ve found the following variables to be undefined:
smart-app-banner/wsl-smart-app-banner.php:57
if ((is_null($app_id_list) or $app_id == "") and
smart-app-banner/wsl-smart-app-banner.php:177
$global_banner_val = $_POST[ $global_banner_field_name ];
smart-app-banner/wsl-smart-app-banner.php:184
if( $_POST[ $global_banner_field_name ] == "Yes") {
My suggestions below:
smart-app-banner/wsl-smart-app-banner.php:41
$app_id_list = $app_id = null; // This is a weird order, but the idea is that if there's a local // definition we use that in preference to the global option
smart-app-banner/wsl-smart-app-banner.php:181
$_POST[ $global_banner_field_name ] = isset( $_POST[ $global_banner_field_name ] ) ? $_POST[ $global_banner_field_name ] : ''; $global_banner_val = $_POST[ $global_banner_field_name ]; // Save the posted value in the database
I’m happy to contribute if i’m given access
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Undefined Indexes’ is closed to new replies.