diff --git a/Source/Source.API.php b/Source/Source.API.php index 60c6f88..518e26c 100644 --- a/Source/Source.API.php +++ b/Source/Source.API.php @@ -1097,7 +1097,8 @@ trigger_error( ERROR_GENERIC, ERROR ); } - return array_shift( self::from_result( $t_result ) ); + $t_array = self::from_result( $t_result ); + return array_shift( $t_array ); } /** @@ -1117,7 +1118,8 @@ trigger_error( ERROR_GENERIC, ERROR ); } - return array_shift( self::from_result( $t_result ) ); + $t_array = self::from_result( $t_result ); + return array_shift( $t_array ); } /**