It is not reproducible in case you have 2 recordings :)
known issue in PHP :)


On 20 June 2014 21:11, Michael Wuttke <[email protected]>
wrote:

> Hello Maxim,
>
> great work! Now it works as expected! ;-)
>
> Thank you,
> Michael
>
> -------- Original-Nachricht --------
> Betreff:        [openmeetings-api-plugin] r6 committed - Correct lists are
> being returned from Recording related API methods
> Datum:  Thu, 19 Jun 2014 10:14:36 GMT
> Von:    [email protected]
>
>
>
> [openmeetings-api-plugin] r6 committed - Correct lists are being
> returned from Recording related API methods
>
> Revision: 6
> Author:   [email protected]
> Date:     Thu Jun 19 10:14:14 2014 UTC
> Log:      Correct lists are being returned from Recording related API
> methods
>
> http://code.google.com/a/apache-extras.org/p/openmeetings-api-plugin/source/detail?r=6
>
> Modified:
>   /trunk/src/main/scripts/openmeetings_gateway.php
>
> =======================================
> --- /trunk/src/main/scripts/openmeetings_gateway.php    Fri Jan 31 16:53:32
> 2014 UTC
> +++ /trunk/src/main/scripts/openmeetings_gateway.php    Thu Jun 19 10:14:14
> 2014 UTC
> @@ -293,7 +293,7 @@
>
>                 $result = $restService->call($url, "return");
>
> -               return $result;
> +               return $result && !is_array(reset($result)) ?
> array($result) : $result;
>         }
>
>         /**
> @@ -307,7 +307,7 @@
>
>                 $result = $restService->call($url, "return");
>
> -               return $result;
> +               return $result && !is_array(reset($result)) ?
> array($result) : $result;
>         }
>   }
>
>
>
>
>
>


-- 
WBR
Maxim aka solomax

Reply via email to