Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Remove reference to protected $_id because it is already declared in Base Parent Class #199

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

awasson
Copy link

@awasson awasson commented Feb 28, 2023

The CiviCRM Base class, "CRM_Admin_Form extends CRM_Core_Form" declares a public $_id variable and redeclaring it as protected causes a fatal error. This pull request removes protected $_id from 6 forms although the reference to protected $_id was already commented out in CRM/Booking/Form/SelectResource.php

@awasson awasson changed the title Remove reference to protected $_id because it is already declared in Parent Class Remove reference to protected $_id because it is already declared in Base Parent Class Feb 28, 2023
@colemanw
Copy link
Contributor

colemanw commented Oct 3, 2023

Looks like this has been fixed in the maintained version of this extension: https://lab.civicrm.org/extensions/booking/-/commit/31d9bcd4580f6f03e61bfdf900b6d1b313651f8f

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants