summaryrefslogtreecommitdiff
path: root/smartyplugins
diff options
context:
space:
mode:
Diffstat (limited to 'smartyplugins')
-rw-r--r--smartyplugins/function.jspopup.php2
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'] );
}