Commit df85bb45 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Store.php: fix problem with empty 'appendToStore()' call.

parent a4bcf1fc
......@@ -873,7 +873,11 @@ class Store {
* @throws CodeException
* @throws UserFormException
*/
public static function appendToStore($storeName, array $values) {
public static function appendToStore($storeName, $values) {
if (empty($value) || !is_array($value)) {
return;
}
if (isset($values[0]) && is_array($values[0])) {
$append = $values[0];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment