Commit 0566861c authored by Shakarim Sapa's avatar Shakarim Sapa

- Fix

parent 24b1be90
......@@ -53,7 +53,7 @@ class ReplaceController extends Controller
$item->text = str_replace('https://task-on.com/', '/', $item->text);
if (!$item->update())
{
throw new ServerErrorHttpException(current(current($item->getErrors())));
// throw new ServerErrorHttpException(current(current($item->getErrors())));
}
echo "[".$item->getPrimaryKey()."] ".($i+1)." of ".count($data)." successfully updated\n";
}
......
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