diff options
Diffstat (limited to 'smartyplugins/function.jspopup.php')
| -rw-r--r-- | smartyplugins/function.jspopup.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/smartyplugins/function.jspopup.php b/smartyplugins/function.jspopup.php index 7bbfaaf..4847c3e 100644 --- a/smartyplugins/function.jspopup.php +++ b/smartyplugins/function.jspopup.php @@ -31,7 +31,7 @@ function smarty_function_jspopup( $pParams, &$gBitSmarty ) { } if( empty( $pParams['title'] ) ) { - return( 'assign: missing "title" parameter' ); + $title = basename( $pParams['href'] ); } else { $title = empty( $pParams['notra'] ) ? $pParams['title'] : tra( $pParams['title'] ); } |
