From 883fbfab5dd0f7fabfed008341acaa63f365b1dc Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 9 May 2021 15:42:24 +0200 Subject: Make venue constructor public. --- includes/venue.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/venue.php') diff --git a/includes/venue.php b/includes/venue.php index be61272..aaf51d0 100644 --- a/includes/venue.php +++ b/includes/venue.php @@ -19,7 +19,7 @@ if ( !class_exists('GiglogAdmin_Venue') ) { * so this constructor can be used to construct the object * directly from the database row. */ - private function __construct($attrs) + public function __construct($attrs) { $this->id = isset($attrs->id) ? $attrs->id : NULL; $this->name = isset($attrs->wpgvenue_name) ? $attrs->wpgvenue_name : NULL; -- cgit v1.2.3