diff options
| -rw-r--r-- | BitBoardTopic.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BitBoardTopic.php b/BitBoardTopic.php index 3247b4e..b8ff03d 100644 --- a/BitBoardTopic.php +++ b/BitBoardTopic.php @@ -497,7 +497,7 @@ class BitBoardTopic extends LibertyMime { global $gBitSystem; $ret = NULL; - if( static::verifyId( $pParamHash['topic_id'] ) ) { + if( !empty( $pParamHash['topic_id'] ) && static::verifyId( $pParamHash['topic_id'] ) ) { if( $gBitSystem->isFeatureActive( 'pretty_urls' ) || $gBitSystem->isFeatureActive( 'pretty_urls_extended' ) ) { $rewrite_tag = $gBitSystem->isFeatureActive( 'pretty_urls_extended' ) ? 'view/':''; $ret = BOARDS_PKG_URL.$rewrite_tag."topic/".$pParamHash['topic_id']; |
