don't try to deliver empty hashes

This commit is contained in:
redmatrix
2016-05-19 20:48:40 -07:00
parent 9cb1ac3de5
commit 853322e7d2
2 changed files with 6 additions and 0 deletions

View File

@@ -17,6 +17,9 @@ class Deliver {
for($x = 1; $x < $argc; $x ++) {
if(! $argv[$x])
continue;
$dresult = null;
$r = q("select * from outq where outq_hash = '%s' limit 1",
dbesc($argv[$x])