NASER add taskززطزSQLSTATE[42000]: Syntax error or access violation: 1305 FUNCTION montask.ST_SetSRID does not exist (Connection: mysql, SQL: update ttendances set ip_exit = 51.684726144224, distance_exit = 850, exited_at = 2026-04-23 13:59:46, exit_location = ST_SetSRID(ST_Point(51.684726144224, 32.652053279154), 4326), duration = 04:59:46, ttendances.updated_at = 2026-04-23 13:59:46 where id = 937)
This commit is contained in:
Notes:
mobinesaghi
2026-04-23 14:42:21 +03:30
NASER add task functions undepended
@@ -358,18 +358,18 @@ class AdminController extends Controller
|
||||
|
||||
}
|
||||
|
||||
private function fa2en_numbers($input)
|
||||
{
|
||||
if (is_string($input)) {
|
||||
$fa_numbers = ['۰', '۱', '۲', '۳', '۴', '۵', '۶', '۷', '۸', '۹'];
|
||||
$en_numbers = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'];
|
||||
return str_replace($fa_numbers, $en_numbers, $input);
|
||||
} elseif (is_array($input)) {
|
||||
return array_map([$this, __FUNCTION__], $input);
|
||||
} else {
|
||||
return $input;
|
||||
}
|
||||
}
|
||||
// private function fa2en_numbers($input)
|
||||
// {
|
||||
// if (is_string($input)) {
|
||||
// $fa_numbers = ['۰', '۱', '۲', '۳', '۴', '۵', '۶', '۷', '۸', '۹'];
|
||||
// $en_numbers = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'];
|
||||
// return str_replace($fa_numbers, $en_numbers, $input);
|
||||
// } elseif (is_array($input)) {
|
||||
// return array_map([$this, __FUNCTION__], $input);
|
||||
// } else {
|
||||
// return $input;
|
||||
// }
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user