changes in base_module_model.php

I made the following change in base_module_model.php:

public function display_name($values) { //$module =& $this->get_module(); $module = $this->get_module();

Because if you pay attention to PHP errors, you get this:

content.js:3 E_STRICT Only variables should be assigned by reference - /home/jeff/lampstack-5.6.19-0/apps/PHP/nobal-cms/fuel/modules/fuel/models/base_module_model.php:1468 #4 /home/jeff/lampstack-5.6.19-0/apps/PHP/nobal-cms/fuel/modules/fuel/controllers/module.php:1073 - Base_module_model->display_name(Array[13]) #3 [internal call] - Module->edit('1') #2 /home/jeff/lampstack-5.6.19-0/apps/PHP/nobal-cms/fuel/codeigniter/core/CodeIgniter.php:360 - call_user_func_array(Array[2], Array[1]) #1 /home/jeff/lampstack-5.6.19-0/apps/PHP/nobal-cms/index.php:270 - require_once('/home/jeff/lam...')

The change makes this go away.

Comments

  • edited 1:35PM
    I believe this is already updated in the develop branch.
Sign In or Register to comment.