Fix: allow access from any other class that inherits Form class.
This commit is contained in:
parent
c01ac05aec
commit
03a2377abc
@ -307,7 +307,7 @@ class Form
|
|||||||
* @param mixed $custommsg String or Array of custom messages : eg array('success' => 'MyMessage', 'error' => 'MyMessage')
|
* @param mixed $custommsg String or Array of custom messages : eg array('success' => 'MyMessage', 'error' => 'MyMessage')
|
||||||
* @return string HTML edit in place
|
* @return string HTML edit in place
|
||||||
*/
|
*/
|
||||||
private function editInPlace($object, $value, $htmlname, $condition, $inputType = 'textarea', $editvalue = null, $extObject = null, $custommsg = null)
|
protected function editInPlace($object, $value, $htmlname, $condition, $inputType = 'textarea', $editvalue = null, $extObject = null, $custommsg = null)
|
||||||
{
|
{
|
||||||
global $conf;
|
global $conf;
|
||||||
|
|
||||||
@ -2362,7 +2362,7 @@ class Form
|
|||||||
* @param string $filterkey Filter key to highlight
|
* @param string $filterkey Filter key to highlight
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
private function constructProductListOption(&$objp, &$opt, &$optJson, $price_level, $selected, $hidepriceinlabel = 0, $filterkey = '')
|
protected function constructProductListOption(&$objp, &$opt, &$optJson, $price_level, $selected, $hidepriceinlabel = 0, $filterkey = '')
|
||||||
{
|
{
|
||||||
global $langs, $conf, $user, $db;
|
global $langs, $conf, $user, $db;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user