lots of work, 2way friends, comments...
This commit is contained in:
parent
3713a9291c
commit
6817c5d59a
15 changed files with 335 additions and 159 deletions
|
@ -23,7 +23,7 @@ function item_post(&$a) {
|
|||
intval($_SESSION['uid']));
|
||||
if(count($r))
|
||||
$contact_id = $r[0]['id'];
|
||||
|
||||
}
|
||||
if($_POST['type'] == 'jot') {
|
||||
|
||||
do {
|
||||
|
@ -35,6 +35,7 @@ function item_post(&$a) {
|
|||
$dups = true;
|
||||
} while($dups == true);
|
||||
|
||||
|
||||
$r = q("INSERT INTO `item` (`uid`,`type`,`contact-id`,`created`,`edited`,`hash`,`body`)
|
||||
VALUES( %d, '%s', %d, '%s', '%s', '%s', '%s' )",
|
||||
intval($profile_uid),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue