Commit 6ea98bf3 by Digimon

format fixed, substr changed to mb_substr, database-related settings added

parent 48eb4c26
...@@ -182,7 +182,7 @@ class MessageController extends Controller ...@@ -182,7 +182,7 @@ class MessageController extends Controller
if (!$removeUnused) { if (!$removeUnused) {
foreach ($obsoleted as $pk => $m) { foreach ($obsoleted as $pk => $m) {
if (substr($m, 0, 2) === '@@' && substr($m, -2) === '@@') { if (mb_substr($m, 0, 2) === '@@' && mb_substr($m, -2) === '@@') {
unset($obsoleted[$pk]); unset($obsoleted[$pk]);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment