Not needed anymore with the return false.
This commit is contained in:
parent
9785d229de
commit
ed7b91633f
4
book.php
4
book.php
|
@ -352,10 +352,6 @@ class Book extends Base {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In case something bad happen below set a default size
|
|
||||||
$nw = "160";
|
|
||||||
$nh = "120";
|
|
||||||
|
|
||||||
$file = $this->getFilePath ("jpg");
|
$file = $this->getFilePath ("jpg");
|
||||||
// get image size
|
// get image size
|
||||||
if ($size = GetImageSize($file)) {
|
if ($size = GetImageSize($file)) {
|
||||||
|
|
Loading…
Reference in a new issue