From befc460353c67201fd1322b5421edd3349ee730e Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Wed, 29 Aug 2012 13:02:41 +0000
Subject: [PATCH] Poprawka błędnego użycia tablicy zwracanej w API yr.no w module pogoda.

---
 test.php |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/test.php b/test.php
index 3f846ea..3af958d 100644
--- a/test.php
+++ b/test.php
@@ -51,10 +51,10 @@
 testdir('./data/rss');
 testdir('./data/tv');
 testdir('./data/tv/cache');
-test('./db', !is_dir('./db') || is_writable('./db'));
-if(is_dir('./database')) {
-	testdir('./database');
+if(is_dir($db)) {
+	testdir('./db');
 }
+testdir('./database');
 
 echo '</table>';
 ?>

--
Gitblit v1.9.1