diff options
Diffstat (limited to 'edit_topic_inc.php')
| -rw-r--r-- | edit_topic_inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/edit_topic_inc.php b/edit_topic_inc.php index 6ec4cb6..c1cbbf2 100644 --- a/edit_topic_inc.php +++ b/edit_topic_inc.php @@ -40,12 +40,12 @@ if( isset( $_REQUEST["submit_mult"] ) && isset( $_REQUEST["checked"] ) && $_REQU $deleteComment = new LibertyComment( $deleteId ); if( $deleteComment->isValid() && $gBitUser->hasPermission('p_liberty_admin_comments') ) { if( !$deleteComment->expunge() ) { - $gBitSmarty->assign_by_ref( 'errors', $deleteComment->mErrors ); + $gBitSmarty->assignByRef( 'errors', $deleteComment->mErrors ); } } } if( !empty( $errors ) ) { - $gBitSmarty->assign_by_ref( 'errors', $errors ); + $gBitSmarty->assignByRef( 'errors', $errors ); } } } |
