mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2024-12-24 03:15:26 +00:00
fix: Notice: Only variables should be passed by reference in \administrator\components\com_jedchecker\libraries\rules\xmlupdateserver.php on line 125
This commit is contained in:
parent
9994008d61
commit
4c2308492c
@ -117,12 +117,13 @@ class JedcheckerRulesXMLUpdateServer extends JEDcheckerRule
|
||||
|
||||
// Check if this is an XML and an extension manifest
|
||||
if ($xml && ($xml->getName() == 'install' || $xml->getName() == 'extension'))
|
||||
{
|
||||
{
|
||||
$directories = explode('/', substr($file, 0, strrpos( $file, '/')));
|
||||
$XMLFiles[] = array(
|
||||
'type' => (string) $xml->attributes()->type,
|
||||
'filepath' => $file,
|
||||
'directoryPath' => substr($file, 0, strrpos( $file, '/')),
|
||||
'directory' => trim(end(explode('/', substr($file, 0, strrpos( $file, '/')))))
|
||||
'type' => (string) $xml->attributes()->type,
|
||||
'filepath' => $file,
|
||||
'directoryPath' => substr($file, 0, strrpos( $file, '/')),
|
||||
'directory' => trim(end($directories))
|
||||
);
|
||||
|
||||
if ($xml->attributes()->type == 'component')
|
||||
|
Loading…
Reference in New Issue
Block a user