mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Фиксы ссылок на форум, дампа Ocelot
Небольшие работы со стилистикой и исправления некоторых ссылок.
This commit is contained in:
parent
036bbae358
commit
41b0894d3d
9 changed files with 39 additions and 40 deletions
|
@ -64,10 +64,10 @@ function validate_topics ($forum_id, &$req_topics, &$topic_titles)
|
|||
* @return bool
|
||||
*/
|
||||
function validate_mode_condition($request_index, $mod_action='') {
|
||||
if (!$mod_action) {
|
||||
$mod_action = $request_index;
|
||||
}
|
||||
return (isset($_REQUEST[$request_index]) || (isset($_POST['mod_action']) && $_POST['mod_action'] === $mod_action));
|
||||
if (!$mod_action) {
|
||||
$mod_action = $request_index;
|
||||
}
|
||||
return (isset($_REQUEST[$request_index]) || (isset($_POST['mod_action']) && $_POST['mod_action'] === $mod_action));
|
||||
}
|
||||
|
||||
// Obtain initial vars
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue