aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-02-24 20:21:37 -0800
committerfriendica <info@friendica.com>2013-02-24 20:21:37 -0800
commitcfd0dc1bffb8f7151db670af26f89a3a746fd88d (patch)
tree727dfd4553ed1e7e5cad2ead0574ceaeecf1ead4
parent32aef838f8317ef908f50c02c2edd4a6fa9ee012 (diff)
downloadvolse-hubzilla-cfd0dc1bffb8f7151db670af26f89a3a746fd88d.tar.gz
volse-hubzilla-cfd0dc1bffb8f7151db670af26f89a3a746fd88d.tar.bz2
volse-hubzilla-cfd0dc1bffb8f7151db670af26f89a3a746fd88d.zip
little fixes
-rw-r--r--include/conversation.php7
-rw-r--r--include/socgraph.php2
-rw-r--r--mod/oembed.php2
-rw-r--r--version.inc2
4 files changed, 7 insertions, 6 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 368a0b0df..285c64cbb 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -126,9 +126,10 @@ function localize_item(&$item){
break;
case ACTIVITY_OBJ_NOTE:
default:
- if(! ($item_flags & ITEM_THREAD_TOP))
- $post_type = t('comment');
- else
+// wrong item_flags, this won't work
+// if(! ($item_flags & ITEM_THREAD_TOP))
+// $post_type = t('comment');
+// else
$post_type = t('status');
break;
}
diff --git a/include/socgraph.php b/include/socgraph.php
index 0d9ae3e6c..7de51b36b 100644
--- a/include/socgraph.php
+++ b/include/socgraph.php
@@ -130,7 +130,7 @@ function poco_load($xchan = null,$url = null) {
);
}
else {
- q("update xlink set xlink_updated = '%s', rating = %d where xlink_id = %d limit 1",
+ q("update xlink set xlink_updated = '%s', xlink_rating = %d where xlink_id = %d limit 1",
dbesc(datetime_convert()),
intval($rating),
intval($r[0]['xlink_id'])
diff --git a/mod/oembed.php b/mod/oembed.php
index 720a6d72b..adda63cf2 100644
--- a/mod/oembed.php
+++ b/mod/oembed.php
@@ -19,7 +19,7 @@ function oembed_init(&$a){
else {
echo "<html><body>";
- $url = base64url_decode($argv(1));
+ $url = base64url_decode(argv(1));
$j = oembed_fetch_url($url);
echo $j->html;
// logger('mod-oembed ' . $j->html, LOGGER_ALL);
diff --git a/version.inc b/version.inc
index 6f0d33522..1cbdaf030 100644
--- a/version.inc
+++ b/version.inc
@@ -1 +1 @@
-2013-02-23.233
+2013-02-24.234