Skip to content

Commit

Permalink
do not add new media as temporary
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Apr 26, 2015
1 parent 47919c4 commit 5837f07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MediaLibraryModel/MediaLibraryModelTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function getFirstMediaURL($collectionName, $profileName)
*
* @return mixed
*/
public function addMedia($file, $collectionName, $preserveOriginal = false, $addAsTemporary = true)
public function addMedia($file, $collectionName, $preserveOriginal = false, $addAsTemporary = false)
{
$media = MediaLibrary::add($file, $this, $collectionName, $preserveOriginal, $addAsTemporary);

Expand Down

0 comments on commit 5837f07

Please sign in to comment.