diff --git a/plugins/system/updatenotification/updatenotification.php b/plugins/system/updatenotification/updatenotification.php index 82e711b2eebf4..1eda934e7a2b6 100644 --- a/plugins/system/updatenotification/updatenotification.php +++ b/plugins/system/updatenotification/updatenotification.php @@ -12,6 +12,7 @@ use Joomla\CMS\Access\Access; use Joomla\CMS\Cache\Cache; use Joomla\CMS\Component\ComponentHelper; +use Joomla\CMS\Extension\ExtensionHelper; use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; use Joomla\CMS\Log\Log; @@ -142,7 +143,7 @@ public function onAfterRender() } // This is the extension ID for Joomla! itself - $eid = 700; + $eid = ExtensionHelper::getExtensionRecord('files_joomla')->extension_id; // Get any available updates $updater = Updater::getInstance();