Jacek Kowalski
2012-11-04 11a92936e370ce4bb35398a0f373f113ae72bd98
Poprawka błędu typu "Undefined property: PDOStatement::$rowCount" w pliku ./class/BotSession.php
1 files modified
2 ■■■ changed files
class/BotSession.php 2 ●●● patch | view | raw | blame | history
class/BotSession.php
@@ -39,8 +39,8 @@
            $this->PDO->setAttribute(PDO::ATTR_ORACLE_NULLS, PDO::NULL_TO_STRING);
            
            $st = $this->PDO->query('SELECT value FROM data WHERE class=\'\' AND name=\'_version\'');
            if($st->rowCount > 0) {
                $row = $st->fetch(PDO::FETCH_ASSOC);
            if(is_array($row)) {
                $version = (int)$row['value'];
            }
            else