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

---
 add_file.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/add_file.php b/add_file.php
index 1fa4075..515dc55 100644
--- a/add_file.php
+++ b/add_file.php
@@ -4,7 +4,7 @@
 validate::KOD($_POST['kod'], FALSE);
 
 if(!is_uploaded_file($_FILES['marc']['tmp_name'])) {
-	error::add('Nie wysłano pliku!');
+	errorclass::add('Nie wysłano pliku!');
 }
 
 $szukaj = array( MARC21::to_array( MARC21::from_string( file_get_contents( $_FILES['marc']['tmp_name'] ) ) ) );

--
Gitblit v1.9.1