Преглед изворни кода

Update bulk_account_settings_users.php (#136)

chansizzle пре 5 година
родитељ
комит
97a369d32b
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      bulk_account_settings/bulk_account_settings_users.php

+ 2 - 2
bulk_account_settings/bulk_account_settings_users.php

@@ -17,7 +17,7 @@
 
 	The Initial Developer of the Original Code is
 	Mark J Crane <[email protected]>
-	Portions created by the Initial Developer are Copyright (C) 2008-2016
+	Portions created by the Initial Developer are Copyright (C) 2008-2020
 	the Initial Developer. All Rights Reserved.
 
 	Contributor(s):
@@ -431,7 +431,7 @@ if (is_array($directory)) {
 				}
 				echo "&nbsp;</td>\n";
 			echo "	<td valign='top' class='".$row_style[$c]."'>";
-				if (sizeof($user_time_zone[$row['user_uuid']]) > 0) {
+				if (isset($user_time_zone[$row['user_uuid']]) && sizeof($user_time_zone[$row['user_uuid']]) > 0) {
 					echo implode(', ', $user_time_zone[$row['user_uuid']]);
 				}
 				echo "&nbsp;</td>\n";