diff options
author | Robin Appelman <icewind1991@gmail.com> | 2010-07-05 15:39:53 +0400 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2010-07-05 15:39:53 +0400 |
commit | a26ef8784044b72d054c4942598650040b51b18c (patch) | |
tree | 9af5acf75b765435d10159d1fca616f9f4cd8e2f /inc/lib_log.php | |
parent | db5ac0b477b4e6e4a47a0bd0cc6321b3dd95957b (diff) |
Fix some database errors
Diffstat (limited to 'inc/lib_log.php')
-rwxr-xr-x | inc/lib_log.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/inc/lib_log.php b/inc/lib_log.php index f163fb9fe94..ce46e9a683d 100755 --- a/inc/lib_log.php +++ b/inc/lib_log.php @@ -69,7 +69,6 @@ class OC_LOG { $user=$_SESSION['username_clean']; $result = OC_DB::select('select `timestamp`,`user`,`type`,`message` from '.$CONFIG_DBTABLEPREFIX.'log where user=\''.$user.'\' order by timestamp desc limit 20'); } - $result = OC_DB::select($query); foreach($result as $entry){ echo('<tr class="browserline">'); echo('<td class="sizetext">'.date($CONFIG_DATEFORMAT,$entry['timestamp']).'</td>'); |