mirror of
https://github.com/friendica/friendica
synced 2025-04-27 17:10:10 +00:00
Use a default value for "uid"
This commit is contained in:
parent
a1a584f444
commit
2f06d271bb
2 changed files with 4 additions and 4 deletions
|
@ -274,7 +274,7 @@ class Photo
|
|||
* @return array
|
||||
* @throws \Exception
|
||||
*/
|
||||
public static function createPhotoForExternalResource($url, $uid, $mimetype = "image/jpeg")
|
||||
public static function createPhotoForExternalResource($url, $uid = 0, $mimetype = "image/jpeg")
|
||||
{
|
||||
$fields = self::getFields();
|
||||
$values = array_fill(0, count($fields), "");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue