Lista userów junior admina jest wyświetlana poprawnie, lecz przy probie edytowania modułu wywala:
Fatal error: Cannot redeclare jr_admin_user_exist() in /admin/admin_jr_admin.php on line 63
a to są te linie:
Kod:
function jr_admin_user_exist($user_id)
{
global $db, $lang;
//Do a query and see if our user exists with isset
$row = sql_query_nivisec(
'SELECT start_date FROM ' . JR_ADMIN_TABLE . " WHERE user_id = $user_id",
$lang['Error_Module_Table'],
false,
1
);
return (isset($row['start_date']));
}
Wcześniej działało bez problemu - nie wchodziłem tam jednak dawno a ostatnio taki błąd ?
Ktoś wie jak to ugryźć ?