diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2021-05-09 15:42:24 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2021-05-09 15:42:24 +0200 |
commit | 883fbfab5dd0f7fabfed008341acaa63f365b1dc (patch) | |
tree | ca8bb7ca83d480bb6112cc191e808fdd0fecfac3 /includes/venue.php | |
parent | e85053ab1841bd29d99142c07de5d70dcf3bad61 (diff) | |
download | gigologadmin-883fbfab5dd0f7fabfed008341acaa63f365b1dc.tar.gz gigologadmin-883fbfab5dd0f7fabfed008341acaa63f365b1dc.tar.bz2 gigologadmin-883fbfab5dd0f7fabfed008341acaa63f365b1dc.zip |
Make venue constructor public.
Diffstat (limited to 'includes/venue.php')
-rw-r--r-- | includes/venue.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; |