|
|
@@ -307,7 +307,8 @@ jQuery(document).ready(function () {
|
|
|
} else if ('sms' == $msgType) {
|
|
|
$msgStatusList = WindykacjaStatsHelper::get_sms_status_info($user, $terminPlatnosci);
|
|
|
}
|
|
|
- $msgStatusFirstKey = reset(array_keys($msgStatusList));
|
|
|
+ $msgStatusFirstKey = array_keys($msgStatusList);
|
|
|
+ $msgStatusFirstKey = reset($msgStatusFirstKey);
|
|
|
echo '"' . V::get('msg', '', $msgStatusList[$msgStatusFirstKey]) . '"';
|
|
|
echo '</p>';
|
|
|
$cmdStats['sent'] += 1;
|
|
|
@@ -344,7 +345,8 @@ jQuery(document).ready(function () {
|
|
|
} else if ('sms' == $msgType) {
|
|
|
$msgStatusList = WindykacjaStatsHelper::get_sms_status_info($user, $terminPlatnosci);
|
|
|
}
|
|
|
- $msgStatusFirstKey = reset(array_keys($msgStatusList));
|
|
|
+ $msgStatusFirstKey = array_keys($msgStatusList);
|
|
|
+ $msgStatusFirstKey = reset($msgStatusFirstKey);
|
|
|
$msgStatusInfo = $msgStatusList[$msgStatusFirstKey];
|
|
|
if ('mail' == $msgType) {
|
|
|
$ret = WindykacjaStatsHelper::update_mail_status($user, $msgStatusFirstKey);
|