// Fix PrestaShopException typo

This commit is contained in:
rMalie
2012-01-04 13:53:19 +00:00
parent 1ad456ad41
commit 4b17d64cf7
36 changed files with 96 additions and 86 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ class PDFCore
{
$class = new $classname($object, $this->smarty);
if (!($class instanceof HTMLTemplate))
throw new PrestashopException('Invalid class. It should be an instance of HTMLTemplate');
throw new PrestaShopException('Invalid class. It should be an instance of HTMLTemplate');
}
return $class;
+2 -2
View File
@@ -122,12 +122,12 @@ class PDFGeneratorCore extends TCPDF
*
* @param string $filename
* @param boolean $inline
* @throws PrestashopException
* @throws PrestaShopException
*/
public function render($filename, $display = true)
{
if (empty($filename))
throw new PrestashopException('Missing filename.');
throw new PrestaShopException('Missing filename.');
$this->lastPage();