mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 00:54:49 +02:00
Code optimization for speed and reduced memory usage.
This commit is contained in:
@@ -1113,7 +1113,7 @@ class download_shortcodes extends e_shortcode
|
||||
|
||||
private function renderNewIcon()
|
||||
{
|
||||
if(strstr(IMAGE_NEW,'<i ') || strstr(IMAGE_NEW,'<span'))
|
||||
if(strpos(IMAGE_NEW, '<i ') !== false || strpos(IMAGE_NEW, '<span') !== false)
|
||||
{
|
||||
return IMAGE_NEW;
|
||||
}
|
||||
|
Reference in New Issue
Block a user