mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-23 03:17:23 +08:00
warning fix
This commit is contained in:
+1
-1
@@ -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 />
|
||||
<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=hidden name=hash value=<?php echo $code?>>
|
||||
<input type=hidden name=hash value=<?php echo $code ?? '' ?>>
|
||||
<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>
|
||||
</table>
|
||||
|
||||
@@ -16,7 +16,7 @@ function bark($msg) {
|
||||
exit;
|
||||
}
|
||||
|
||||
$type = $_POST['type'];
|
||||
$type = $_POST['type'] ?? '';
|
||||
if ($type == 'invite'){
|
||||
registration_check();
|
||||
failedloginscheck ("Invite Signup");
|
||||
|
||||
@@ -43,8 +43,8 @@ $url = parse_imdb_id($_POST['url'] ?? '');
|
||||
|
||||
$nfo = '';
|
||||
if ($enablenfo_main=='yes'){
|
||||
$nfofile = $_FILES['nfo'];
|
||||
if ($nfofile['name'] != '') {
|
||||
$nfofile = $_FILES['nfo'] ?? [];
|
||||
if (!empty($nfofile['name'])) {
|
||||
|
||||
if ($nfofile['size'] == 0)
|
||||
bark($lang_takeupload['std_zero_byte_nfo']);
|
||||
|
||||
Reference in New Issue
Block a user