Commit c78e0175 authored by Shakarim Sapa's avatar Shakarim Sapa

- Fix

parent f7092b14
...@@ -83,7 +83,7 @@ class ReplaceController extends Controller ...@@ -83,7 +83,7 @@ class ReplaceController extends Controller
if ($item->text!='') if ($item->text!='')
{ {
// $item->text = str_replace('http://task-on.com/', 'https://task-on.com/', $item->text); // $item->text = str_replace('http://task-on.com/', 'https://task-on.com/', $item->text);
$item->text = str_replace('http://task-on.com/', '/', $item->text); $item->text = str_replace('https://task-on.com/', '/', $item->text);
if (!$item->update()) if (!$item->update())
{ {
// throw new ServerErrorHttpException(current(current($item->getErrors()))); // throw new ServerErrorHttpException(current(current($item->getErrors())));
......
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