Skip to content
Snippets Groups Projects
Commit 11f5af6a authored by Ubbo Veentjer's avatar Ubbo Veentjer
Browse files

f->detail is an object and no string in newer php

parent 1b0a6cb6
No related branches found
No related tags found
No related merge requests found
...@@ -133,7 +133,7 @@ class RBAC { ...@@ -133,7 +133,7 @@ class RBAC {
} catch( SoapFault $f ) { } catch( SoapFault $f ) {
return array("success" => FALSE, return array("success" => FALSE,
"detail" => "SOAP FAULT (authenticate)!: " . $f->faultcode . " / " . $f->faultstring . " / " . $f->detail, "detail" => "SOAP FAULT (authenticate)!: " . $f->faultcode . " / " . $f->faultstring,
"rbachash" => $rbachash); "rbachash" => $rbachash);
exit; exit;
} }
...@@ -161,7 +161,7 @@ class RBAC { ...@@ -161,7 +161,7 @@ class RBAC {
} catch( SoapFault $f ) { } catch( SoapFault $f ) {
return array("success" => FALSE, return array("success" => FALSE,
"rbachash" => $rbachash, "rbachash" => $rbachash,
"detail" => "SOAP FAULT (tgAddActiveRole)!: " . $f->faultcode . " / " . $f->faultstring . " / " . $f->detail); "detail" => "SOAP FAULT (tgAddActiveRole)!: " . $f->faultcode . " / " . $f->faultstring);
exit; exit;
} }
...@@ -197,7 +197,7 @@ class RBAC { ...@@ -197,7 +197,7 @@ class RBAC {
} catch(SoapFault $f) { } catch(SoapFault $f) {
return array("success" => FALSE, return array("success" => FALSE,
"rbachash" => $rbachash, "rbachash" => $rbachash,
"detail" => "SOAP FAULT (AddUser)!: " . $f->faultcode . " / " . $f->faultstring . " / " . $f->detail ); "detail" => "SOAP FAULT (AddUser)!: " . $f->faultcode . " / " . $f->faultstring);
exit; exit;
} }
} else { } else {
...@@ -206,7 +206,7 @@ class RBAC { ...@@ -206,7 +206,7 @@ class RBAC {
} catch (SoapFault $f) { } catch (SoapFault $f) {
return array("success" => FALSE, return array("success" => FALSE,
"rbachash" => $rbachash, "rbachash" => $rbachash,
"detail" => "SOAP FAULT (UserExists)!: " . $f->faultcode . " / " . $f->faultstring . " / " . $f->detail ); "detail" => "SOAP FAULT (UserExists)!: " . $f->faultcode . " / " . $f->faultstring);
exit; exit;
} }
...@@ -286,7 +286,7 @@ class RBAC { ...@@ -286,7 +286,7 @@ class RBAC {
} catch (SoapFault $f) { } catch (SoapFault $f) {
return array("success" => FALSE, return array("success" => FALSE,
"rbachash" => $rbachash, "rbachash" => $rbachash,
"detail" => "SOAP FAULT (CreateSession)!: " . $f->faultcode . " / " . $f->faultstring . " / " . $f->detail ); "detail" => "SOAP FAULT (CreateSession)!: " . $f->faultcode . " / " . $f->faultstring);
exit; exit;
} }
...@@ -370,7 +370,7 @@ class RBAC { ...@@ -370,7 +370,7 @@ class RBAC {
return $res; return $res;
} catch (SoapFault $f) { } catch (SoapFault $f) {
return array("success" => FALSE, return array("success" => FALSE,
"detail" => "SOAP FAULT (setMyUserAttributes)!: " . $f->faultcode . " / " . $f->faultstring . " / " . $f->detail ); "detail" => "SOAP FAULT (setMyUserAttributes)!: " . $f->faultcode . " / " . $f->faultstring);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment