réplica de
https://github.com/friendica/friendica
sincronizado 2025-09-01 21:11:11 +02:00
language and static
Este commit está contenido en:
padre
d772331b91
commit
41251458a0
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
|
@ -31,14 +31,14 @@ class SerializeUtil
|
|||
/**
|
||||
* Checks if the value needs to get unserialized and returns the unserialized value
|
||||
*
|
||||
* @param mixed $value A possible serialized value
|
||||
* @param mixed $value A possibly serialized value
|
||||
*
|
||||
* @return mixed The unserialized value
|
||||
*/
|
||||
public static function maybeUnserialize($value)
|
||||
{
|
||||
// This checks for possible multiple serialized values
|
||||
while (SerializeUtil::isSerialized($value)) {
|
||||
while (static::isSerialized($value)) {
|
||||
$oldValue = $value;
|
||||
$value = @unserialize($value);
|
||||
|
||||
|
|
Cargando…
Añadir tabla
Añadir enlace
Referenciar en una nueva incidencia