diff options
Diffstat (limited to 'edit_book.php')
| -rw-r--r-- | edit_book.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/edit_book.php b/edit_book.php index 9b572a0..ed5f268 100644 --- a/edit_book.php +++ b/edit_book.php @@ -33,7 +33,7 @@ global $gStructure; **/ // get a book instance global $gContent; -if( @BitBase::verifyId( $_REQUEST["structure_id"] ) || @BitBase::verifyId( $_REQUEST["content_id"] ) ) { +if( BitBase::verifyIdParameter( $_REQUEST, 'structure_id' ) || BitBase::verifyIdParameter( $_REQUEST, 'content_id' ) ) { include_once( LIBERTY_PKG_INCLUDE_PATH.'lookup_content_inc.php' ); if( empty( $gContent ) ){ $gBitSystem->fatalError( 'Error: Invalid structure id, the book you requested could not be found.' ); |
