Explorar o código

WindykacjaPanel: small fix

Piotr Labudda %!s(int64=11) %!d(string=hai) anos
pai
achega
6af358556c
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      SE/superedit-USERS2_WINDYKACJA_STATUS.php

+ 2 - 1
SE/superedit-USERS2_WINDYKACJA_STATUS.php

@@ -189,7 +189,8 @@ function USERS2_WINDYKACJA_STATUS() {
 				} else if ('sms' == $msgType) {
 					$msgStatusList  = WindykacjaStatsHelper::get_sms_status_info($firstUser);
 				}
-				$msgStatusFirstKey = reset(array_keys($msgStatusList));
+				$msgStatusFirstKey = array_keys($msgStatusList);
+				$msgStatusFirstKey = reset($msgStatusFirstKey);
 				$msgStatusInfo = $msgStatusList[$msgStatusFirstKey];
 				//echo'<pre>$msgStatusInfo:';print_r($msgStatusInfo);echo'</pre>';