optimized. events_has_extended_info

Former-commit-id: 2435badcea24fd5777bde358658409bf947a2d4b
This commit is contained in:
fbsanchez 2019-02-13 15:55:03 +01:00
parent 453c639c53
commit 7f4353c4bc
1 changed files with 2 additions and 2 deletions

View File

@ -2622,8 +2622,8 @@ function events_has_extended_info(int $id_event)
{
return (bool) db_get_value_sql(
sprintf(
'SELECT count(*) FROM (
SELECT * as "n"
'SELECT count(*) as "n" FROM (
SELECT *
FROM tevent_extended WHERE id_evento=%d LIMIT 1) t',
$id_event
)