Skip to content

Commit

Permalink
Merge pull request #795 from shandak/REDCORE-530
Browse files Browse the repository at this point in the history
REDCORE-530 #comment Warnings and version check disabled during redCORE upgrade
  • Loading branch information
Kixo authored Oct 4, 2017
2 parents 3879221 + fbe2991 commit 7c127bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -1655,9 +1655,9 @@ public function checkComponentVersion($original, $source, $xmlFile)
try
{
$source = $source . '/' . $xmlFile;
$sourceXml = new SimpleXMLElement($source);
$sourceXml = new SimpleXMLElement($source, 0, true);
$original = $original . '/' . $xmlFile;
$originalXml = new SimpleXMLElement($original);
$originalXml = new SimpleXMLElement($original, 0, true);

if (version_compare((string) $sourceXml->version, (string) $originalXml->version, '<'))
{
Expand Down

0 comments on commit 7c127bb

Please sign in to comment.