working on readonly contact attribute

This commit is contained in:
Mike Macgirvin
2010-07-27 22:32:21 -07:00
parent 2e5fb9c37e
commit fa154248dc
8 changed files with 58 additions and 25 deletions

View File

@@ -95,7 +95,7 @@ echo "Length:" . strlen($xml) . "\r\n";
if(count($r)) {
if($r[0]['uri'] == $r[0]['parent-uri']) {
$r = q("UPDATE `item` SET `deleted` = 1, `edited` = '%s'
WHERE `parent-uri` = '%s'"
WHERE `parent-uri` = '%s'",
dbesc($when),
dbesc($r[0]['uri'])
);