mirror of
https://github.com/nextcloud/server.git
synced 2026-02-19 02:38:40 -05:00
use array_merge for merging arrays in PHP
This commit is contained in:
parent
ed8b7fc101
commit
1cb7239cb7
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ class LostController extends Controller {
|
|||
}
|
||||
|
||||
private function error($message, array $additional=array()) {
|
||||
return array_combine(array('status' => 'error', 'msg' => $message), $additional);
|
||||
return array_merge(array('status' => 'error', 'msg' => $message), $additional);
|
||||
}
|
||||
|
||||
private function success() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue