diff options
author | zotlabs <mike@macgirvin.com> | 2016-10-27 12:38:46 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-27 12:38:46 +1100 |
commit | 9e46409517c2f2fe1929d3332445aa8d8674c5ab (patch) | |
tree | 576130ba970381bdad7018b7fc56522984552195 /Zotlabs/Module/Regdir.php | |
parent | d42da529ece416a3d69d30eea7ded96731774a62 (diff) | |
parent | c1c96e01fab131dd48cd68cdd9b63639e269d9c8 (diff) | |
download | volse-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/Regdir.php')
-rw-r--r-- | Zotlabs/Module/Regdir.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Regdir.php b/Zotlabs/Module/Regdir.php index 208a2b384..f4d16c562 100644 --- a/Zotlabs/Module/Regdir.php +++ b/Zotlabs/Module/Regdir.php @@ -70,7 +70,7 @@ class Regdir extends \Zotlabs\Web\Controller { if(! $result['success']) $valid = 0; - q("update site set site_valid = %d where site_url = '%s' limit 1", + q("update site set site_valid = %d where site_url = '%s'", intval($valid), strtolower($url) ); |