Bug fix in ACL\Login: mnake sure ['base'] acl is int

This commit is contained in:
Clemens Schwaighofer
2023-07-26 11:48:56 +09:00
parent 6985dc4e9d
commit cfd49947ad
3 changed files with 20 additions and 4 deletions

View File

@@ -2057,10 +2057,11 @@ class IO
/**
* this is only needed for Postgresql. Converts postgresql arrays to PHP
* Recommended to rather user 'array_to_json' instead and convet JSON in PHP
* or if ARRAY_AGG -> JSONB_AGG
*
* @param string $text input text to parse to an array
* @return array<mixed> PHP array of the parsed data
* @deprecated Recommended to use 'array_to_json' in PostgreSQL instead
* @deprecated Recommended to use 'array_to_json/jsonb_agg' in PostgreSQL instead
*/
public function dbArrayParse(string $text): array
{