aboutsummaryrefslogtreecommitdiff
path: root/app/models/Entry.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/Entry.php')
-rwxr-xr-xapp/models/Entry.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/models/Entry.php b/app/models/Entry.php
index 684b1921a..da296227a 100755
--- a/app/models/Entry.php
+++ b/app/models/Entry.php
@@ -200,7 +200,7 @@ class EntryDAO extends Model_pdo {
$values = array (
$valuesTmp['id'],
- substr($valuesTmp['guid'], 0, 511),
+ substr($valuesTmp['guid'], 0, 760),
substr($valuesTmp['title'], 0, 255),
substr($valuesTmp['author'], 0, 255),
base64_encode (gzdeflate (serialize ($valuesTmp['content']))),
@@ -260,7 +260,6 @@ class EntryDAO extends Model_pdo {
. 'WHERE e.id=?';
$values = array ($is_favorite ? 1 : 0, $id);
$stm = $this->bd->prepare ($sql);
-
if ($stm && $stm->execute ($values)) {
return $stm->rowCount();
} else {