mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00: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(
|
||||
"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
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user