1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 03:40:37 +02:00

Fixed all unchecked usages of possibly undefined constant BOOTSTRAP

This commit is contained in:
Nick Liu
2020-11-28 16:10:05 +01:00
parent b3cc2cf117
commit f20052fa77
7 changed files with 10 additions and 9 deletions

View File

@@ -2103,7 +2103,7 @@ class e_form
return '';
}
if(BOOTSTRAP === 4)
if(defined('BOOTSTRAP') && BOOTSTRAP === 4)
{
return '<a class="pager-button btn btn-primary" href="'.$url.'">'.$total.'</a>';
}