Explorar el Código

Update AP helpers, fix statusFetch 404s

Daniel Supernault hace 4 años
padre
commit
3419379aa8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Util/ActivityPub/Helpers.php

+ 1 - 1
app/Util/ActivityPub/Helpers.php

@@ -258,7 +258,7 @@ class Helpers {
 
 		$res = self::fetchFromUrl($url);
 		
-		if(!$res || empty($res)) {
+		if(!$res || empty($res) || isset($res['error']) ) {
 			return;
 		}