projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CRM_Core_Menu - Fix warnings during local test run (dev/core#742)
[civicrm-core.git]
/
CRM
/
Core
/
Menu.php
diff --git
a/CRM/Core/Menu.php
b/CRM/Core/Menu.php
index ceb7e2a98cdf98e1a5b18f8247b46d19d9de948b..f370b8cacb6b16e642f31bb5639fa8d68f7b2add 100644
(file)
--- a/
CRM/Core/Menu.php
+++ b/
CRM/Core/Menu.php
@@
-96,7
+96,7
@@
class CRM_Core_Menu {
* @throws Exception
*/
public static function read($name, &$menu) {
- $xml = simplexml_load_
file($name
);
+ $xml = simplexml_load_
string(file_get_contents($name)
);
self::readXML($xml, $menu);
}