diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-04-17 11:18:17 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-04-17 11:29:43 +0200 |
commit | fda445ab0536b06f8bb37b58413a25d97f4036a5 (patch) | |
tree | 825c088b9a49385dedc8910b29c16e6a8c6ac607 /3dparty/MDB2 | |
parent | c5e270b45346ad7046cda64d73c5aae1f9679062 (diff) | |
download | nextcloud-server-fda445ab0536b06f8bb37b58413a25d97f4036a5.tar.gz nextcloud-server-fda445ab0536b06f8bb37b58413a25d97f4036a5.zip |
fix strict errors in xml parser
Diffstat (limited to '3dparty/MDB2')
-rw-r--r-- | 3dparty/MDB2/Schema/Parser.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/3dparty/MDB2/Schema/Parser.php b/3dparty/MDB2/Schema/Parser.php index 7c22012c416..bd7a9657932 100644 --- a/3dparty/MDB2/Schema/Parser.php +++ b/3dparty/MDB2/Schema/Parser.php @@ -120,7 +120,7 @@ class MDB2_Schema_Parser extends XML_Parser { // force ISO-8859-1 due to different defaults for PHP4 and PHP5 // todo: this probably needs to be investigated some more andcleaned up - parent::XML_Parser('ISO-8859-1'); + parent::__construct('ISO-8859-1'); $this->variables = $variables; $this->structure = $structure; @@ -503,7 +503,7 @@ class MDB2_Schema_Parser extends XML_Parser $this->element = implode('-', $this->elements); } - function &raiseError($msg = null, $xmlecode = 0, $xp = null, $ecode = MDB2_SCHEMA_ERROR_PARSE) + function &raiseError($msg = null, $xmlecode = 0, $xp = null, $ecode = MDB2_SCHEMA_ERROR_PARSE,$a=null,$b=null,$c=null) { if (is_null($this->error)) { $error = ''; |