aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Connedit.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-10-27 12:38:46 +1100
committerGitHub <noreply@github.com>2016-10-27 12:38:46 +1100
commit9e46409517c2f2fe1929d3332445aa8d8674c5ab (patch)
tree576130ba970381bdad7018b7fc56522984552195 /Zotlabs/Module/Connedit.php
parentd42da529ece416a3d69d30eea7ded96731774a62 (diff)
parentc1c96e01fab131dd48cd68cdd9b63639e269d9c8 (diff)
downloadvolse-hubzilla-9e46409517c2f2fe1929d3332445aa8d8674c5ab.tar.gz
volse-hubzilla-9e46409517c2f2fe1929d3332445aa8d8674c5ab.tar.bz2
volse-hubzilla-9e46409517c2f2fe1929d3332445aa8d8674c5ab.zip
Merge pull request #570 from fsteinel/issue-NEW
sql: limit 1 for UPDATE and DELETE is not supported …
Diffstat (limited to 'Zotlabs/Module/Connedit.php')
-rw-r--r--Zotlabs/Module/Connedit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Connedit.php b/Zotlabs/Module/Connedit.php
index c11d1ea16..cee593a5f 100644
--- a/Zotlabs/Module/Connedit.php
+++ b/Zotlabs/Module/Connedit.php
@@ -448,7 +448,7 @@ class Connedit extends \Zotlabs\Web\Controller {
}
if($cmd === 'resetphoto') {
- q("update xchan set xchan_photo_date = '2001-01-01 00:00:00' where xchan_hash = '%s' limit 1",
+ q("update xchan set xchan_photo_date = '2001-01-01 00:00:00' where xchan_hash = '%s'",
dbesc($orig_record[0]['xchan_hash'])
);
$cmd = 'refresh';