diff options
| author | Lester Caine <lester@lsces.co.uk> | 2008-06-13 16:38:34 +0000 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2008-06-13 16:38:34 +0000 |
| commit | e2aeb115d659a0d50f907d998e589b49447a60c0 (patch) | |
| tree | 1a5ede4cfdfb73b19fe549e76a58cf460e3eb3e4 /content_history_inc.php | |
| parent | 177274832d60a2225f9208f24713da9d81404a31 (diff) | |
| download | liberty-e2aeb115d659a0d50f907d998e589b49447a60c0.tar.gz liberty-e2aeb115d659a0d50f907d998e589b49447a60c0.tar.bz2 liberty-e2aeb115d659a0d50f907d998e589b49447a60c0.zip | |
Missing param causes problem with Firebird. Not sure if rollback_coment should be populated from calling page?
Diffstat (limited to 'content_history_inc.php')
| -rw-r--r-- | content_history_inc.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/content_history_inc.php b/content_history_inc.php index 29a0704..0b9c6af 100644 --- a/content_history_inc.php +++ b/content_history_inc.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.14 $ + * @version $Revision: 1.15 $ * @package liberty * @subpackage functions */ @@ -75,6 +75,7 @@ if( isset( $_REQUEST["delete"] ) && isset( $_REQUEST["hist"] )) { } elseif( @BitBase::verifyId( $_REQUEST["rollback"] )) { $gContent->verifyPermission( !empty( $rollbackPerm ) ? $rollbackPerm : $gContent->mEditContentPerm ); + if (! isset($_REQUEST["rollback_comment"]) ) $_REQUEST["rollback_comment"] = ''; if( $gContent->rollbackVersion( $_REQUEST["rollback"], $_REQUEST["rollback_comment"] )) { bit_redirect( $gContent->getDisplayUrl() ); } |
