From 0e001846d37b2bb019da9e02b534a6c11f5e419d Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Fri, 13 Jul 2012 18:51:45 +0000
Subject: [PATCH] Drobne zmiany w wyświetlanych tekstach, poprawki językowe i merytoryczne w pomocy do modułów.
---
class/BotSession.php | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/class/BotSession.php b/class/BotSession.php
index 20088e3..cec7f45 100644
--- a/class/BotSession.php
+++ b/class/BotSession.php
@@ -54,6 +54,9 @@
);
$files = glob(BOT_TOPDIR.'/db/*/'.$this->user_struct['user'].'.ggdb');
+ if(!$files) {
+ return;
+ }
$this->PDO->beginTransaction();
$st = $this->PDO->prepare('INSERT OR REPLACE INTO data (class, name, value) VALUES (?, ?, ?)');
@@ -149,4 +152,4 @@
$st->execute(array($this->class));
}
}
-?>
+?>
\ No newline at end of file
--
Gitblit v1.9.1