From 07517ae563097e04e91ea3fae2c2ca1cf2309b86 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Mon, 16 Dec 2019 20:48:17 +0000
Subject: [PATCH] Użycie API REST do pobierania danych z Biblioteki Narodowej

---
 includes/okladki.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/includes/okladki.php b/includes/okladki.php
index f525f5b..e9f0626 100644
--- a/includes/okladki.php
+++ b/includes/okladki.php
@@ -152,7 +152,7 @@
 				$image = imagecreatefromxpm($file);
 			break;
 			default:
-				error::add('Nieznany format obrazka: '.$type.'!');
+				errorclass::add('Nieznany format obrazka: '.$type.'!');
 				return FALSE;
 			break;
 		}

--
Gitblit v1.9.1