X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=inc%2Fmodules%2Fadmin%2Fwhat-del_email.php;h=6fb6f1c43934f521931cc5c88d1af0ae2d5f487e;hb=e45e218c4f629ec63f0788cab231bfc88b3fa46e;hp=e3e3146bce9d8a89b8bee47337fa40d87a6afc49;hpb=9f5f55cd28eebd7b389c13f7c3be500ff43d0a28;p=mailer.git diff --git a/inc/modules/admin/what-del_email.php b/inc/modules/admin/what-del_email.php index e3e3146bce..6fb6f1c439 100644 --- a/inc/modules/admin/what-del_email.php +++ b/inc/modules/admin/what-del_email.php @@ -202,7 +202,7 @@ LIMIT 1", // Free result SQL_FREERESULT($result); -} elseif ((isGetRequestParameterSet('nid')) && (getExtensionVersion('bonus') >= '0.8.7')) { +} elseif ((isGetRequestParameterSet('nid')) && (isExtensionInstalledAndNewer('bonus', '0.8.7'))) { // Load data from bonus mail $result = SQL_QUERY_ESC("SELECT `id`, `subject`, `url`, `timestamp` FROM `{?_MYSQL_PREFIX?}_bonus` WHERE `id`=%s", array(bigintval(getRequestParameter('nid'))), __FILE__, __LINE__);