aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-10-13 01:00:06 -0700
committerFriendika <info@friendika.com>2011-10-13 01:00:06 -0700
commit2911bf9434cb1a061ff32d41894ee0dd09ed3993 (patch)
treedee7dfc7d2995e6e0292d6f9968eff7d82c46224
parentac3a6d1d1ed8f322bd14e2675a07ab1836d83a85 (diff)
downloadvolse-hubzilla-2911bf9434cb1a061ff32d41894ee0dd09ed3993.tar.gz
volse-hubzilla-2911bf9434cb1a061ff32d41894ee0dd09ed3993.tar.bz2
volse-hubzilla-2911bf9434cb1a061ff32d41894ee0dd09ed3993.zip
sql issue item_store
-rw-r--r--boot.php2
-rw-r--r--include/items.php4
-rw-r--r--view/theme/duepuntozero/style.css2
3 files changed, 4 insertions, 4 deletions
diff --git a/boot.php b/boot.php
index f483d32f3..fb406867d 100644
--- a/boot.php
+++ b/boot.php
@@ -8,7 +8,7 @@ require_once("include/pgettext.php");
require_once('include/nav.php');
define ( 'FRIENDIKA_PLATFORM', 'Free Friendika');
-define ( 'FRIENDIKA_VERSION', '2.3.1131' );
+define ( 'FRIENDIKA_VERSION', '2.3.1132' );
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
define ( 'DB_UPDATE_VERSION', 1095 );
diff --git a/include/items.php b/include/items.php
index 2c23c6f1b..36851b01f 100644
--- a/include/items.php
+++ b/include/items.php
@@ -818,14 +818,14 @@ function item_store($arr,$force_parent = false) {
// find the item we just created
- $r = q("SELECT `id` FROM `item` WHERE `uri` = '%s' AND `uid` = %d LIMIT 1 ORDER BY `id` ASC",
+ $r = q("SELECT `id` FROM `item` WHERE `uri` = '%s' AND `uid` = %d ORDER BY `id` ASC LIMIT 1",
$arr['uri'], // already dbesc'd
intval($arr['uid'])
);
if(! count($r)) {
// This is not good, but perhaps we encountered a rare race/cache condition, so back off and try again.
sleep(3);
- $r = q("SELECT `id` FROM `item` WHERE `uri` = '%s' AND `uid` = %d LIMIT 1 ORDER BY `id` ASC",
+ $r = q("SELECT `id` FROM `item` WHERE `uri` = '%s' AND `uid` = %d ORDER BY `id` ASC LIMIT 1",
$arr['uri'], // already dbesc'd
intval($arr['uid'])
);
diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css
index 40c3cb81b..9bb866e76 100644
--- a/view/theme/duepuntozero/style.css
+++ b/view/theme/duepuntozero/style.css
@@ -1861,7 +1861,7 @@ a.mail-list-link {
.widget {
border: 1px solid #DDDDDD;
- padding: 5px;
+ padding: 8px;
margin-top: 5px;
-moz-border-radius:5px;
-webkit-border-radius:5px;