little fixes
This commit is contained in:
parent
32aef838f8
commit
cfd0dc1bff
@ -126,9 +126,10 @@ function localize_item(&$item){
|
|||||||
break;
|
break;
|
||||||
case ACTIVITY_OBJ_NOTE:
|
case ACTIVITY_OBJ_NOTE:
|
||||||
default:
|
default:
|
||||||
if(! ($item_flags & ITEM_THREAD_TOP))
|
// wrong item_flags, this won't work
|
||||||
$post_type = t('comment');
|
// if(! ($item_flags & ITEM_THREAD_TOP))
|
||||||
else
|
// $post_type = t('comment');
|
||||||
|
// else
|
||||||
$post_type = t('status');
|
$post_type = t('status');
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -130,7 +130,7 @@ function poco_load($xchan = null,$url = null) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
else {
|
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()),
|
dbesc(datetime_convert()),
|
||||||
intval($rating),
|
intval($rating),
|
||||||
intval($r[0]['xlink_id'])
|
intval($r[0]['xlink_id'])
|
||||||
|
@ -19,7 +19,7 @@ function oembed_init(&$a){
|
|||||||
|
|
||||||
else {
|
else {
|
||||||
echo "<html><body>";
|
echo "<html><body>";
|
||||||
$url = base64url_decode($argv(1));
|
$url = base64url_decode(argv(1));
|
||||||
$j = oembed_fetch_url($url);
|
$j = oembed_fetch_url($url);
|
||||||
echo $j->html;
|
echo $j->html;
|
||||||
// logger('mod-oembed ' . $j->html, LOGGER_ALL);
|
// logger('mod-oembed ' . $j->html, LOGGER_ALL);
|
||||||
|
@ -1 +1 @@
|
|||||||
2013-02-23.233
|
2013-02-24.234
|
||||||
|
Reference in New Issue
Block a user