Преглед на файлове

Update home_mods.php

http://www.opengamepanel.org/forum/viewthread.php?thread_id=4696&rowstart=60#post_25760
Adjokip преди 9 години
родител
ревизия
fcd55a1bb7
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      modules/user_games/home_mods.php

+ 2 - 2
modules/user_games/home_mods.php

@@ -170,7 +170,7 @@ function exec_ogp_module()
 		
 		// Get the selected cores.
 		$enabledCores = $db->getHomeAffinity($home_id);
-		$cores = [];
+		$cores = array();
 		
 		if ($enabledCores !== 'NA')
 		{
@@ -178,7 +178,7 @@ function exec_ogp_module()
 			if (preg_match('/win/', $remote->what_os()))
 			{
 				$coreHex = hexdec($enabledCores);
-				$cores = [];
+				$cores = array();
 				$core = 0;
 
 				while ($coreHex > 0)