Php 8.1 urlencode(): Passing null to parameter #1 ($string)
This commit is contained in:
parent
31355dd922
commit
1175338af2
1 changed files with 1 additions and 1 deletions
|
@ -1274,7 +1274,7 @@ namespace gp\tool{
|
|||
$edit_index,
|
||||
'Admin_Theme_Content/Text',
|
||||
$langmessage['edit'],
|
||||
'cmd=EditText&key=' . urlencode($text) . '&return=' . urlencode($page->title),
|
||||
'cmd=EditText&key=' . urlencode('is_null($text) ? "" : urlencode($text)') . '&return=' . urlencode('is_null($page->title) ? "" : urlencode($page->title)'),
|
||||
['title' => htmlspecialchars($text), 'data-cmd' => 'gpabox']
|
||||
);
|
||||
echo '<div class="editable_area inner_size" id="ExtraEditArea' . $edit_index . '">';
|
||||
|
|
Loading…
Reference in a new issue