Probiert mal folgendes aus, in modules/Sections/index.php:
Suche:
if (!MX_IS_USER) {
$sec_sub_sql = "view='1' OR view='3'";
}
if (MX_IS_USER) {
$sec_sub_sql = "view='1' OR view='2'";
}
if (MX_IS_ADMIN) {
$sec_sub_sql = "view BETWEEN 1 AND 4";
}
Ersetze durch:
if (!MX_IS_USER) {
$sec_sub_sql = " (view='1' OR view='3') ";
}
if (MX_IS_USER) {
$sec_sub_sql = " (view='1' OR view='2') ";
}
if (MX_IS_ADMIN) {
$sec_sub_sql = " (view BETWEEN 1 AND 4) ";
}
Suche:
if (((!MX_IS_USER) && (($view != 1) || ($view != 3))) || ($active != 1)) {
if (!MX_IS_ADMIN) {
Header("Location: modules.php?name=".$module_name."");
exit();
}
}
Ersetze durch:
if ( (!MX_IS_USER && ($view != 1 && $view != 3)) || $active != 1 ) {
if (!MX_IS_ADMIN) {
Header("Location: modules.php?name=".$module_name."");
exit();
}
}
mfg
Edit: Doch noch ne Klammer gesetzt
