Commit 1fb09616 by Aan Choesni Herlingga

bug fix

parent 88445195
......@@ -71,7 +71,7 @@ class PageController extends Controller
if (webprofilesetting()['auto_translate'] == 1) {
// save translate
if (strlen($fields['q']) < 5000) {
if (strlen($data['content']) < 5000) {
$this->createEn($data, $save);
}
}
......
......@@ -91,7 +91,7 @@ class PostController extends Controller
if (webprofilesetting()['auto_translate'] == 1) {
// save translate
if (strlen($fields['q']) < 5000) {
if (strlen($data['content']) < 5000) {
$this->createEn($data, $save);
}
}
......
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