Browse code

Fix missing SQL connection init

Jaidyn Lev authored on 2018-06-14 06:33:36
Showing 1 changed files
1 1
old mode 100644
2 2
new mode 100755
... ...
@@ -30,6 +30,8 @@
30 30
 (defun fetch-visitors (url)
31 31
   "Fetches the visitor-count of a URL."
32 32
 
33
+  (simple-sql:init "doormat")
34
+
33 35
   (nth 1 (nth 0 (simple-sql:fetch-where "entries" "url" (stra url)))))
34 36
 
35 37