From c8605313e0b3834cb45bc417de18d13bb91c9066 Mon Sep 17 00:00:00 2001 From: "Ap.Muthu" Date: Sun, 22 Apr 2018 07:12:13 +0530 Subject: [PATCH] Remove deprecated constructor https://github.com/syco/ajaxcrud/commit/e0d14aefc6c3149081520a38ab0f27561b8f615a --- ajaxCRUD.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ajaxCRUD.class.php b/ajaxCRUD.class.php index 1444d42..b2e2ec9 100644 --- a/ajaxCRUD.class.php +++ b/ajaxCRUD.class.php @@ -331,7 +331,7 @@ class ajaxCRUD{ // Constructor //by default ajaxCRUD assumes all necessary files are in the same dir as the script calling it (eg $ajaxcrud_root = "") - function ajaxCRUD($item, $db_table, $db_table_pk, $ajaxcrud_root = "") { + function __construct($item, $db_table, $db_table_pk, $ajaxcrud_root = "") { //global variable - for allowing multiple ajaxCRUD tables on one page global $num_ajaxCRUD_tables_instantiated;