projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3ea7b5
)
Pastie: add missing field to SQL query
author
Ben Klang
<ben@alkaloid.net>
Tue, 18 May 2010 03:29:34 +0000
(23:29 -0400)
committer
Ben Klang
<ben@alkaloid.net>
Tue, 18 May 2010 03:31:09 +0000
(23:31 -0400)
pastie/lib/Driver/Sql.php
patch
|
blob
|
history
diff --git
a/pastie/lib/Driver/Sql.php
b/pastie/lib/Driver/Sql.php
index
933b1a8
..
e43b41f
100644
(file)
--- a/
pastie/lib/Driver/Sql.php
+++ b/
pastie/lib/Driver/Sql.php
@@
-127,8
+127,8
@@
class Pastie_Driver_Sql extends Pastie_Driver
throw new Pastie_Exception(_("Internal error. Details have been logged for the administrator."));
}
- $query = 'SELECT paste_id, paste_uuid, paste_
title, paste_syntax, '
.
- 'paste_content, paste_owner, paste_timestamp ' .
+ $query = 'SELECT paste_id, paste_uuid, paste_
bin, paste_title, '
.
+ 'paste_
syntax, paste_
content, paste_owner, paste_timestamp ' .
'FROM pastie_pastes ';
$values = array();
if (isset($params['id'])) {