Till Brehm
2014-02-16 57aa5e2feb993db2d70ea350f952ae9d54125ece
Fixed: FS#3007 - logout function always returns false
1 files modified
7 ■■■■ changed files
interface/lib/classes/remoting.inc.php 7 ●●●● patch | view | raw | blame | history
interface/lib/classes/remoting.inc.php
@@ -126,8 +126,11 @@
        $session_id = $app->db->quote($session_id);
        $sql = "DELETE FROM remote_session WHERE remote_session = '$session_id'";
        $app->db->query($sql);
        return $app->db->affectedRows() == 1;
        if($app->db->query($sql) != false) {
            return true;
        } else {
            return false;
        }
    }