Whitespace. Stupid £#@£@$ editor.
This commit is contained in:
parent
d4539b415a
commit
5087d783b7
@ -129,11 +129,11 @@ function vcard_from_xchan($xchan, $observer = null, $mode = '') {
|
|||||||
function abook_toggle_flag($abook,$flag) {
|
function abook_toggle_flag($abook,$flag) {
|
||||||
|
|
||||||
$r = q("UPDATE abook set abook_flags = (abook_flags %s %d) where abook_id = %d and abook_channel = %d",
|
$r = q("UPDATE abook set abook_flags = (abook_flags %s %d) where abook_id = %d and abook_channel = %d",
|
||||||
db_getfunc('^'),
|
db_getfunc('^'),
|
||||||
intval($flag),
|
intval($flag),
|
||||||
intval($abook['abook_id']),
|
intval($abook['abook_id']),
|
||||||
intval($abook['abook_channel'])
|
intval($abook['abook_channel'])
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
// if unsetting the archive bit, update the timestamps so we'll try to connect for an additional 30 days.
|
// if unsetting the archive bit, update the timestamps so we'll try to connect for an additional 30 days.
|
||||||
|
@ -915,8 +915,8 @@ function item_photo_menu($item){
|
|||||||
|
|
||||||
if($contact) {
|
if($contact) {
|
||||||
$poke_link = $a->get_baseurl($ssl_state) . '/poke/?f=&c=' . $contact['abook_id'];
|
$poke_link = $a->get_baseurl($ssl_state) . '/poke/?f=&c=' . $contact['abook_id'];
|
||||||
if (!($contact['abook_flags'] & ABOOK_FLAG_SELF))
|
if (!($contact['abook_flags'] & ABOOK_FLAG_SELF))
|
||||||
$contact_url = $a->get_baseurl($ssl_state) . '/connedit/' . $contact['abook_id'];
|
$contact_url = $a->get_baseurl($ssl_state) . '/connedit/' . $contact['abook_id'];
|
||||||
$posts_link = $a->get_baseurl($ssl_state) . '/network/?cid=' . $contact['abook_id'];
|
$posts_link = $a->get_baseurl($ssl_state) . '/network/?cid=' . $contact['abook_id'];
|
||||||
|
|
||||||
$clean_url = normalise_link($item['author-link']);
|
$clean_url = normalise_link($item['author-link']);
|
||||||
|
Reference in New Issue
Block a user