Replace tabs with spaces in SQL query
authorjoshuaruesweg <ruesweg@woltlab.com>
Fri, 5 Mar 2021 13:22:18 +0000 (14:22 +0100)
committerjoshuaruesweg <ruesweg@woltlab.com>
Tue, 16 Mar 2021 15:19:14 +0000 (16:19 +0100)
wcfsetup/install/files/lib/data/unfurl/url/UnfurlUrl.class.php

index 0bba64f1548d491f46172295d308b4232f6fda11..8e8460c96d24e70d5121caaa2319660446026568 100644 (file)
@@ -101,9 +101,9 @@ class UnfurlUrl extends DatabaseObject
             throw new \InvalidArgumentException("Given URL is not a valid URL.");
         }
 
-        $sql = "SELECT         unfurl_url.*
-                               FROM            wcf" . WCF_N . "_unfurl_url unfurl_url
-                               WHERE           unfurl_url.urlHash = ?";
+        $sql = "SELECT      unfurl_url.*
+                FROM        wcf" . WCF_N . "_unfurl_url unfurl_url
+                WHERE       unfurl_url.urlHash = ?";
         $statement = WCF::getDB()->prepareStatement($sql);
         $statement->execute([\sha1($url)]);
         $row = $statement->fetchArray();