forked from indymedia/epicyon
Allow empty messages if they contain an image with a description
parent
6ea7b8deb1
commit
f27ad3db04
|
@ -2066,7 +2066,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
filename=None
|
filename=None
|
||||||
|
|
||||||
# send the post
|
# send the post
|
||||||
if not fields.get('message'):
|
if not fields.get('message') and not fields.get('imageDescription'):
|
||||||
return -1,pageNumber
|
return -1,pageNumber
|
||||||
if fields.get('submitPost'):
|
if fields.get('submitPost'):
|
||||||
if fields['submitPost']!='Submit':
|
if fields['submitPost']!='Submit':
|
||||||
|
|
Loading…
Reference in New Issue