mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-30 05:09:06 +02:00
Remove double quotes so example is not parsed.
[Notice] Undefined variable: map Since it's using double quotes it tries to process $map, $key and $value
This commit is contained in:
parent
014d6db8d8
commit
d1c29d6595
@ -196,7 +196,7 @@ class SS_Map implements ArrayAccess, Countable, IteratorAggregate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
user_error(
|
user_error(
|
||||||
"SS_Map is read-only. Please use $map->push($key, $value) to append values",
|
'SS_Map is read-only. Please use $map->push($key, $value) to append values',
|
||||||
E_USER_ERROR
|
E_USER_ERROR
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user