warning fix

This commit is contained in:
xiaomlove
2025-10-01 12:01:53 +07:00
parent e085d52679
commit 612e83744f
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ tr($lang_signup['row_school'], "<select name=school>$schools</select>", 1);
<tr><td class=rowhead><?php echo $lang_signup['row_verification'] ?></td><td class=rowfollow align=left><input type=checkbox name=rulesverify value=yes><?php echo $lang_signup['checkbox_read_rules'] ?><br /> <tr><td class=rowhead><?php echo $lang_signup['row_verification'] ?></td><td class=rowfollow align=left><input type=checkbox name=rulesverify value=yes><?php echo $lang_signup['checkbox_read_rules'] ?><br />
<input type=checkbox name=faqverify value=yes><?php echo $lang_signup['checkbox_read_faq'] ?> <br /> <input type=checkbox name=faqverify value=yes><?php echo $lang_signup['checkbox_read_faq'] ?> <br />
<input type=checkbox name=ageverify value=yes><?php echo $lang_signup['checkbox_age'] ?></td></tr> <input type=checkbox name=ageverify value=yes><?php echo $lang_signup['checkbox_age'] ?></td></tr>
<input type=hidden name=hash value=<?php echo $code?>> <input type=hidden name=hash value=<?php echo $code ?? '' ?>>
<input type="hidden" name="wantpassword" /> <input type="hidden" name="wantpassword" />
<tr><td class=toolbox colspan="2" align="center"><font color=red><b><?php echo $lang_signup['text_all_fields_required'] ?></b><p></font><input id="submit-btn" type=button value=<?php echo $lang_signup['submit_sign_up'] ?> style='height: 25px'></td></tr> <tr><td class=toolbox colspan="2" align="center"><font color=red><b><?php echo $lang_signup['text_all_fields_required'] ?></b><p></font><input id="submit-btn" type=button value=<?php echo $lang_signup['submit_sign_up'] ?> style='height: 25px'></td></tr>
</table> </table>
+1 -1
View File
@@ -16,7 +16,7 @@ function bark($msg) {
exit; exit;
} }
$type = $_POST['type']; $type = $_POST['type'] ?? '';
if ($type == 'invite'){ if ($type == 'invite'){
registration_check(); registration_check();
failedloginscheck ("Invite Signup"); failedloginscheck ("Invite Signup");
+2 -2
View File
@@ -43,8 +43,8 @@ $url = parse_imdb_id($_POST['url'] ?? '');
$nfo = ''; $nfo = '';
if ($enablenfo_main=='yes'){ if ($enablenfo_main=='yes'){
$nfofile = $_FILES['nfo']; $nfofile = $_FILES['nfo'] ?? [];
if ($nfofile['name'] != '') { if (!empty($nfofile['name'])) {
if ($nfofile['size'] == 0) if ($nfofile['size'] == 0)
bark($lang_takeupload['std_zero_byte_nfo']); bark($lang_takeupload['std_zero_byte_nfo']);