Browse Source

Fix: comment out a guard that leaked into a disabled function

The bulk file_get_html guard pass (a253e83) matched a commented-out
file_get_html($url) in the disabled mastodon() block and inserted a live
`if (!$html) return;` inside it. Comment it out to match its block.
windhamdavid 1 week ago
parent
commit
1460d98fb5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      inc/utils.php

+ 1 - 1
inc/utils.php

@@ -463,7 +463,7 @@ function photo() {
 //
 //	$url = 'https://universeodon.com/@windhamdavid/with_replies';
 //	$html = file_get_html($url);
-	if (!$html) return;
+//	if (!$html) return;
 //	$i = 0;
 //	foreach ($html->find('.status__content__text p') as $li) {
 //    if (!empty($html)) {