Fix another php8 error with 'default' theme

This commit is contained in:
k4be 2023-10-30 16:15:39 +01:00
parent 9b84e0c07f
commit 03e9c1a99e

View File

@ -3,7 +3,10 @@
<div class="item">
<label for="search"><?php echo lang('paste_search'); ?>
</label>
<input type="text" name="search" value="<?php echo str_replace('"', '&quot;', $this->input->get('search')); ?>" id="search" maxlength="100" tabindex="1" />
<input type="text" name="search" value="<?php
$search = $this->input->get('search');
echo $search ? str_replace('"', '&quot;', $search) : '';
?>" id="search" maxlength="100" tabindex="1" />
</div>
</div>
</form>