Subversion Repositories cheapmusic

Rev

Rev 9 | Rev 20 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9 Rev 14
Line 91... Line 91...
91
                WHERE  id = '$id' and tab = '" . $this->getSessionTab() . "'";
91
                WHERE  id = '$id' and tab = '" . $this->getSessionTab() . "'";
92
 
92
 
93
        if ($result = mysqli_query(self::$_sess_db, $sql))
93
        if ($result = mysqli_query(self::$_sess_db, $sql))
94
        {
94
        {
95
            if (mysqli_num_rows($result))
95
            if (mysqli_num_rows($result))
96
        {
96
            {
97
                $record = mysqli_fetch_assoc($result);
97
                $record = mysqli_fetch_assoc($result);
98
 
-
 
99
                $decrypted = Cryptor::Decrypt($record['data']);
98
                $decrypted = Cryptor::Decrypt($record['data']);
100
                return $decrypted;
99
                return $decrypted;
101
            }
100
            }
102
        }
101
        }
103
 
102