dever %!s(int64=3) %!d(string=hai) anos
pai
achega
7118556c6e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Api.php

+ 1 - 1
src/Api.php

@@ -139,7 +139,7 @@ class Api
                 } else {
                     $result[$k] = '';
                 }
-                if (!$result[$k]) {
+                if (isset($result[$k]) && !$result[$k]) {
                     unset($result[$k]);
                 }
             }