Explorar el Código

WindykacjaPanel: small fix

Piotr Labudda hace 11 años
padre
commit
6af358556c
Se han modificado 1 ficheros con 2 adiciones y 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>';