summaryrefslogtreecommitdiffstats
path: root/includes/venue.php
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-05-09 15:42:24 +0200
committerHarald Eilertsen <haraldei@anduin.net>2021-05-09 15:42:24 +0200
commit883fbfab5dd0f7fabfed008341acaa63f365b1dc (patch)
treeca8bb7ca83d480bb6112cc191e808fdd0fecfac3 /includes/venue.php
parente85053ab1841bd29d99142c07de5d70dcf3bad61 (diff)
downloadgigologadmin-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.php2
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;