Fix setScale method
This commit is contained in:
parent
bb46045e41
commit
458c5fc1a7
|
@ -173,6 +173,20 @@ class Album implements JsonSerializable {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function setManufacturer($manufacturer = null) {
|
||||||
|
if (is_null($manufacturer) || ($manufacturer == "")) return false;
|
||||||
|
settype($manufacturer, "string");
|
||||||
|
$this->manufacturer = $manufacturer;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function setScale($scale = null) {
|
||||||
|
if (is_null($scale) || ($scale == "")) return false;
|
||||||
|
settype($scale, "string");
|
||||||
|
$this->scale = $scale;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
public function refreshImages() {
|
public function refreshImages() {
|
||||||
global $globaldbh;
|
global $globaldbh;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user