1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 06:38:00 +02:00

#4299: Wrap more potentially undefined constants

In:
* Forums
* /e107_admin/menus.php
This commit is contained in:
Nick Liu
2021-07-13 12:49:05 +02:00
parent bc1340af12
commit ccf0f037aa
7 changed files with 18 additions and 13 deletions

View File

@@ -1818,7 +1818,7 @@ $columnInfo = array(
// See if any mirrors defined
// Need to check all the possible mirror names - might have deleted the first one if we're in edit mode
if(count($_POST['download_mirror_name']))
if(is_array($_POST['download_mirror_name']))
{
foreach ($_POST['download_mirror_name'] as $mn)
{