diff options
| author | spider@dav <spiderr@bitweaver.org> | 2025-05-28 21:23:01 -0400 |
|---|---|---|
| committer | spider@dav <spiderr@bitweaver.org> | 2025-05-28 21:23:01 -0400 |
| commit | f22773ad31e4fe4c70e6a1f2ad1aa4a3f27d1d7b (patch) | |
| tree | 4d38362dd753b6f638b5eefb4e9f2913c42f3902 /edit_book.php | |
| parent | e93fe04ae4f8bbdfd690d02225ebba36327d8321 (diff) | |
| parent | dde33e01842872ac75d6bc2c41c8139d5878b79b (diff) | |
| download | wiki-f22773ad31e4fe4c70e6a1f2ad1aa4a3f27d1d7b.tar.gz wiki-f22773ad31e4fe4c70e6a1f2ad1aa4a3f27d1d7b.tar.bz2 wiki-f22773ad31e4fe4c70e6a1f2ad1aa4a3f27d1d7b.zip | |
Merge branch 'master' of github.com:bitweaver/wiki
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 dd20c72..af7e1be 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.' ); |
