]> git.wh0rd.org Git - tt-rss.git/commitdiff
close db link in opml import workaround (2)
authorAndrew Dolgov <fox@bah.spb.su>
Wed, 7 Sep 2005 16:51:46 +0000 (17:51 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Wed, 7 Sep 2005 16:51:46 +0000 (17:51 +0100)
opml.php

index 1a77d3146bf06d9db73e261fed0ca5384b759254..a7606e2462d7707f765eb322370cb4f83e5239f6 100644 (file)
--- a/opml.php
+++ b/opml.php
 
        }
 
-       db_close($link);
+       if ($link) db_close($link);
 
 ?>