Deleting a page when jGrowl redirect is used = blank page
the jgrowl redirect is presenting a blank page when deleting a wiki page. The normal redirect works fine
Leave a comment
It's this part of redirect_header
if( ! headers_sent() $icmsConfigPersona['use_custom_redirection']==1) {
$_SESSION['redirect_message'] = $message ;
header( 'Location: '.preg_replace('/[]amp;/i','',$url) ) ;
exit();
The original wiwimod url passed to redirect_header is
redirect_header('javascript:submitaction('page='
. urlencode($rev->encode($rev->keyword)) . 'amp;op=listpages');', 2,
($success) ? _MD_SWIKI_DBUPDATED_MSG : _MD_SWIKI_ERRORINSERT_MSG
);
This will need to be addressed and simplified in a future release
if( ! headers_sent() $icmsConfigPersona['use_custom_redirection']==1) {
$_SESSION['redirect_message'] = $message ;
header( 'Location: '.preg_replace('/[]amp;/i','',$url) ) ;
exit();
The original wiwimod url passed to redirect_header is
redirect_header('javascript:submitaction('page='
. urlencode($rev->encode($rev->keyword)) . 'amp;op=listpages');', 2,
($success) ? _MD_SWIKI_DBUPDATED_MSG : _MD_SWIKI_ERRORINSERT_MSG
);
This will need to be addressed and simplified in a future release