Skip to content

Commit

Permalink
Remove deprecated constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
apmuthu committed Apr 22, 2018
1 parent 019c826 commit c860531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ajaxCRUD.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c860531

Please sign in to comment.