Muharrem ARMAN
Newly Born Kitty

| Posts: 1 |   |
|
Hi,
- I also hope Aclaina read this thread.
- Yesterday I tried to make a patch but not success. I only find the faulty. In the | Code: |
\components\com_missus\missus.php
| file; GLOBAL Variables not passing into function. SHOWMESSAGES function begins with global directive but may be a bug or not, this directive empties the variables.
- So that, (!$isAdmin && !$isUser) allways both of FALSE and runs mosRedirect over and over again in loop.
sample code :
| Code: | //SHOW MESSAGES
function showMessages( $type )
{
global $_REQUEST, $database, $func, $mosConfig_absolute_path, $isAdmin, $isUser,
$CurrUID, $idItem, $Msg_Accesibility, $Allow_Attach, $Msgs_Per_Page,
$UMsgs_Per_Page, $Send_Receipt, $USend_Receipt;
require_once($mosConfig_absolute_path.'/includes/pageNavigation.php');
//GET IF VALID
if ( !$isAdmin && !$isUser ) { mosRedirect( sefRelToAbs( "index.php" ), _MISSUS_NOTAUTHORIZED ); return; }
|
|
|
The administrator has disabled public write access. |