summaryrefslogtreecommitdiff
path: root/edit_topic.php
diff options
context:
space:
mode:
Diffstat (limited to 'edit_topic.php')
-rwxr-xr-xedit_topic.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/edit_topic.php b/edit_topic.php
index 3290f05..e349e31 100755
--- a/edit_topic.php
+++ b/edit_topic.php
@@ -9,7 +9,6 @@
* Initialization
*/
require_once '../kernel/includes/setup_inc.php';
-use Bitweaver\Articles\BitArticle;
use Bitweaver\KernelTools;
include_once( ARTICLES_PKG_INCLUDE_PATH.'lookup_article_topic_inc.php' );
@@ -29,9 +28,9 @@ if( !$gContent->isValid() ) {
$gBitSmarty->assign( 'topic_info', $gContent->mInfo);
if( isset( $_REQUEST["fSubmitSaveTopic"] ) ) {
- $gContent->storeTopic( $_REQUEST );
+ $gContent->storeTopic( $_REQUEST );
$gContent->loadTopic();
- KernelTools::bit_redirect( ARTICLES_PKG_URL . "admin/admin_topics.php" );
+ KernelTools::bit_redirect( ARTICLES_PKG_URL . "admin/admin_topics.php" );
} elseif( isset( $_REQUEST['fRemoveTopicImage'] ) ) {
$gContent->removeTopicImage();
}