1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-28 16:50:07 +02:00

Issue #4299 - PHP8 fatal error fixes

This commit is contained in:
Cameron
2021-10-17 08:43:07 -07:00
parent 8d968d2ee3
commit 73dfbf0d74
5 changed files with 22 additions and 18 deletions

View File

@@ -274,12 +274,12 @@
switch($pref['image_post_disabled_method'])
{
case '1' :
return CORE_LAN17;
return defset('CORE_LAN17');
case '2' :
return '';
}
return CORE_LAN18 . $code_text;
return defset('CORE_LAN18') . $code_text;
}