File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
administrator/components/com_joomlaupdate/src/Model Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -1331,6 +1331,10 @@ public function getNonCoreExtensions()
13311331 foreach ($ rows as $ extension )
13321332 {
13331333 $ decode = json_decode ($ extension ->manifest_cache );
1334+
1335+ // Removed description so that CDATA content does not cause javascript error during pre-update check
1336+ $ decode ->description = '' ;
1337+
13341338 $ this ->translateExtensionName ($ extension );
13351339 $ extension ->version
13361340 = isset ($ decode ->version ) ? $ decode ->version : Text::_ ('COM_JOOMLAUPDATE_PREUPDATE_UNKNOWN_EXTENSION_MANIFESTCACHE_VERSION ' );
@@ -1348,7 +1352,7 @@ public function getNonCoreExtensions()
13481352 *
13491353 * @return array name,version,updateserver
13501354 *
1351- * @since 4.0 .0
1355+ * @since 3.10 .0
13521356 */
13531357 public function getNonCorePlugins ($ folderFilter = array ())
13541358 {
@@ -1387,6 +1391,10 @@ public function getNonCorePlugins($folderFilter = array())
13871391 foreach ($ rows as $ plugin )
13881392 {
13891393 $ decode = json_decode ($ plugin ->manifest_cache );
1394+
1395+ // Removed description so that CDATA content does not cause javascript error during pre-update check
1396+ $ decode ->description = '' ;
1397+
13901398 $ this ->translateExtensionName ($ plugin );
13911399 $ plugin ->version = $ decode ->version ?? Text::_ ('COM_JOOMLAUPDATE_PREUPDATE_UNKNOWN_EXTENSION_MANIFESTCACHE_VERSION ' );
13921400 unset($ plugin ->manifest_cache );
You can’t perform that action at this time.
0 commit comments