infrastructure for personalised @ tags (no UI/settings form yet), allow own comments through statusnet connector
This commit is contained in:
parent
ef1b99aa44
commit
a33edb0042
7 changed files with 19 additions and 9 deletions
|
@ -414,7 +414,8 @@ function photos_post(&$a) {
|
|||
);
|
||||
}
|
||||
else {
|
||||
$r = q("SELECT * FROM `contact` WHERE `nick` = '%s' AND `uid` = %d LIMIT 1",
|
||||
$r = q("SELECT * FROM `contact` WHERE `attag` = '%s' OR `nick` = '%s' AND `uid` = %d ORDER BY `attag` DESC LIMIT 1",
|
||||
dbesc($name),
|
||||
dbesc($name),
|
||||
intval($page_owner_uid)
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue