Page MenuHomePhorge

D44.1774878374.diff
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

D44.1774878374.diff

Index: lib/AutodiscoverMicrosoft.php
===================================================================
--- lib/AutodiscoverMicrosoft.php
+++ lib/AutodiscoverMicrosoft.php
@@ -52,16 +52,14 @@
// parse XML
try {
$xml = new SimpleXMLElement($post);
- Log::debug(print_r($xml, true));
-
- foreach($xml->getDocNamespaces() as $strPrefix => $strNamespace) {
- if(strlen($strPrefix)==0) {
- $strPrefix="a"; //Assign an arbitrary namespace prefix.
- }
- $xml->registerXPathNamespace($strPrefix,$strNamespace);
- }
-
+ Log::debug(print_r($xml, true));
+ foreach($xml->getDocNamespaces() as $strPrefix => $strNamespace) {
+ if(strlen($strPrefix)==0) {
+ $strPrefix="a"; //Assign an arbitrary namespace prefix.
+ }
+ $xml->registerXPathNamespace($strPrefix,$strNamespace);
+ }
if ($email = $xml->xpath('//a:EMailAddress')) {
$this->email = (string) array_shift($email);

File Metadata

Mime Type
text/plain
Expires
Mon, Mar 30, 1:46 PM (1 w, 14 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18773142
Default Alt Text
D44.1774878374.diff (1 KB)

Event Timeline