summaryrefslogtreecommitdiff
path: root/edit.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-11-10 10:58:31 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-11-10 10:58:31 +0000
commit84cac0a92cfe2baf6b10b92417b82a1b66a8ff36 (patch)
treecfe1b1507b5ae4e4a26fe680cdd107ac60404977 /edit.php
parent78cd6eb6976542b4e6d3168faaeca48b9e35748a (diff)
downloadarticles-84cac0a92cfe2baf6b10b92417b82a1b66a8ff36.tar.gz
articles-84cac0a92cfe2baf6b10b92417b82a1b66a8ff36.tar.bz2
articles-84cac0a92cfe2baf6b10b92417b82a1b66a8ff36.zip
indent using tabs
Diffstat (limited to 'edit.php')
-rw-r--r--edit.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/edit.php b/edit.php
index c9190ed..a87b7df 100644
--- a/edit.php
+++ b/edit.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_articles/edit.php,v 1.42 2007/11/10 10:51:19 joasch Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_articles/edit.php,v 1.43 2007/11/10 10:57:47 squareing Exp $
* @package article
* @subpackage functions
*/
@@ -47,9 +47,9 @@ if( !empty( $_REQUEST['remove_image'] ) ) {
if( isset( $_REQUEST["save"] ) ) {
// random image code
if( !( $gContent->hasUserPermission( 'p_articles_approve_submission' ) || $gContent->hasUserPermission( 'p_articles_auto_approve' ) ) && $gBitSystem->isFeatureActive( 'articles_submissions_rnd_img' ) && !$gBitUser->verifyCaptcha( $_REQUEST['captcha'] ) ) {
- $feedback['error'] = tra( "You need to supply the correct code to submit." );
- $_REQUEST['preview'] = TRUE;
- unset( $_REQUEST['save'] );
+ $feedback['error'] = tra( "You need to supply the correct code to submit." );
+ $_REQUEST['preview'] = TRUE;
+ unset( $_REQUEST['save'] );
}
}
// If we are in preview mode then preview it!