mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 05:43:55 -07:00
fix: Undefined array key "smile"
when are no smilies (#1896)
This commit is contained in:
parent
b51820e186
commit
36d399220e
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ function generate_smilies($mode)
|
|||
|
||||
$data = $datastore->get('smile_replacements');
|
||||
|
||||
if ($sql = $data['smile']) {
|
||||
if (isset($data['smile']) && $sql = $data['smile']) {
|
||||
$num_smilies = 0;
|
||||
$rowset = [];
|
||||
foreach ($sql as $row) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue