summaryrefslogtreecommitdiff
path: root/BitBoard.php
diff options
context:
space:
mode:
Diffstat (limited to 'BitBoard.php')
-rw-r--r--BitBoard.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/BitBoard.php b/BitBoard.php
index 05dba32..3213e65 100644
--- a/BitBoard.php
+++ b/BitBoard.php
@@ -620,7 +620,8 @@ WHERE map.`board_content_id`=lc.`content_id` AND ((s_lc.`user_id` < 0) AND (s.`i
$topicRootId = (int)$seq[0];
if( BitBase::verifyId( $topicRootId )) {
require_once( BOARDS_PKG_PATH.'BitBoardTopic.php' );
- $ret = BitBoardTopic::getDisplayUrlFromHash( array( 'topic_id' => $topicRootId ) );
+ $hash = array( 'topic_id' => $topicRootId );
+ $ret = BitBoardTopic::getDisplayUrlFromHash( $hash );
// we're out of here with our topic url
return $ret;
}