Bläddra i källkod

WindykacjaPanel: small fix

Piotr Labudda 11 år sedan
förälder
incheckning
6af358556c
1 ändrade filer med 2 tillägg och 1 borttagningar
  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>';