Browse Source

Update AP Helpers

Daniel Supernault 4 years ago
parent
commit
bfe2341575
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Util/ActivityPub/Helpers.php

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

@@ -174,10 +174,10 @@ class Helpers {
 				return false;
 				return false;
 			}
 			}
 
 
-			return true;
+			return $url;
 		});
 		});
 
 
-		return (bool) $valid;
+		return $valid;
 	}
 	}
 
 
 	public static function validateLocalUrl($url)
 	public static function validateLocalUrl($url)