Staging & Approval fails if incorrect $edit_minor parameter type is supplied to the function update_page. This is the case in Tiki 6.3
This causes the whole staging & approval mechanism to fail.
Fix the type of the $edit_minor parameter supplied.
So, the result will be like...
function update_page($pageName, $edit_data, $edit_comment, $edit_user, $edit_ip, $edit_description = , $edit_minor = 0, $lang=, $is_html=null, $hash=null, $saveLastModif=null, $wysiwyg=, $wiki_authors_style=) {
global $smarty, $prefs, $dbTiki, $histlib, $quantifylib;
include_once ("lib/wiki/histlib.php");
include_once ("lib/comments/commentslib.php");
/**
AB: Fix missing minor_version during staging
**/
$edit_minor = intval($edit_minor);
/** End fix **/
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |