hubzilla core issue #1276
This commit is contained in:
parent
5cc19ce053
commit
6f036bc778
2
util/dcp
2
util/dcp
@ -28,7 +28,7 @@ if($argc < 3) {
|
|||||||
if(strpos($dstfile,'store/') === 0)
|
if(strpos($dstfile,'store/') === 0)
|
||||||
$dstfile = substr($dstfile,6);
|
$dstfile = substr($dstfile,6);
|
||||||
|
|
||||||
if(strpos($dstfile,'/'))
|
if(strpos($dstfile,'/')) {
|
||||||
$nick = substr($dstfile,0,strpos($dstfile,'/'));
|
$nick = substr($dstfile,0,strpos($dstfile,'/'));
|
||||||
$dstfile = substr($dstfile,strlen($nick)+1);
|
$dstfile = substr($dstfile,strlen($nick)+1);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user