Default photo title now "Untitled"
This commit is contained in:
parent
b6b568b146
commit
071d0c25ec
@ -882,7 +882,7 @@ final class Photo {
|
|||||||
* Sets the title of a photo.
|
* Sets the title of a photo.
|
||||||
* @return boolean Returns true when successful.
|
* @return boolean Returns true when successful.
|
||||||
*/
|
*/
|
||||||
public function setTitle($title) {
|
public function setTitle($title = 'Untitled') {
|
||||||
|
|
||||||
// Check dependencies
|
// Check dependencies
|
||||||
Validator::required(isset($this->photoIDs), __METHOD__);
|
Validator::required(isset($this->photoIDs), __METHOD__);
|
||||||
|
Loading…
Reference in New Issue
Block a user