mirror of
https://github.com/nerzhul/ocsms.git
synced 2025-06-08 16:36:25 +00:00
Fix array merge key problem
This commit is contained in:
parent
b0ae79b6ff
commit
36cd0d0597
@ -126,9 +126,8 @@ class SmsController extends Controller {
|
||||
|
||||
// We merge each message list into global messagelist
|
||||
for ($i=0; $i < $ctPn; $i++) {
|
||||
$messages = array_merge($messages,
|
||||
$this->smsMapper->getAllMessagesForPhoneNumber($this->userId, $iContacts[$contactName][$i], $lastDate)
|
||||
);
|
||||
$messages = $messages +
|
||||
$this->smsMapper->getAllMessagesForPhoneNumber($this->userId, $iContacts[$contactName][$i], $lastDate);
|
||||
}
|
||||
}
|
||||
// This case mustn't be reached, but add it.
|
||||
|
Loading…
x
Reference in New Issue
Block a user