if source is empty, set it to null in the database
git-svn-id: file:///home/shish/svn/shimmie2/trunk@353 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
bd91945c76
commit
f948ae8720
@ -69,6 +69,8 @@ class Upload extends Extension {
|
||||
private function try_upload($file, $tags, $source) {
|
||||
global $page;
|
||||
global $config;
|
||||
|
||||
if(empty($source)) $source = null;
|
||||
|
||||
$ok = false;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user