diff options
| author | spiderr <spiderr@bitweaver.org> | 2022-08-01 11:21:43 -0400 |
|---|---|---|
| committer | spiderr <spiderr@bitweaver.org> | 2022-08-01 11:21:43 -0400 |
| commit | d7d24ab9ae24463608828f2a0021d7841d91d24e (patch) | |
| tree | 20f5ceefa22ca7ee2f91f85e8886499b9e042102 /smartyplugins | |
| parent | e7d5d3c625a9911c3eae050dae863a1f474398b4 (diff) | |
| download | themes-d7d24ab9ae24463608828f2a0021d7841d91d24e.tar.gz themes-d7d24ab9ae24463608828f2a0021d7841d91d24e.tar.bz2 themes-d7d24ab9ae24463608828f2a0021d7841d91d24e.zip | |
log missing iname
Diffstat (limited to 'smartyplugins')
| -rw-r--r-- | smartyplugins/function.booticon.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/smartyplugins/function.booticon.php b/smartyplugins/function.booticon.php index b5367da..8ad4114 100644 --- a/smartyplugins/function.booticon.php +++ b/smartyplugins/function.booticon.php @@ -34,6 +34,9 @@ function smarty_function_booticon( $pParams ) { } $outstr .= '<span class="fa '; +if( empty( $pParams["iname"] ) ) { + bit_error_log( 'missing iname', $pParams ); +} if( strpos( $pParams["iname"], 'icon-' ) === 0 ) { $pParams['iname'] = str_replace( 'icon-', 'fa-', $pParams['iname'] ); } |
