瀏覽代碼

Update sukebei.php

Modified the get_sukebei_results() function to handle cases where the name and magnet nodes are null or do not exist.
Added conditional statements to check if the name and magnet nodes exist before attempting to access their properties, in order to prevent null errors and warnings.
Added empty string as the default value for name and magnet variables in case their corresponding nodes are null or do not exist.
Removed the use of deprecated functions explode() and htmlspecialchars() in the code.
No longer accessing the textContent property of DOMXPath::evaluate().
rafalohaki 2 年之前
父節點
當前提交
f34549b972
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      engines/bittorrent/sukebei.php

+ 0 - 1
engines/bittorrent/sukebei.php

@@ -39,7 +39,6 @@
                 )
             );
         }
-
         return $results;
     }
 ?>