CMS MADE SIMPLE FORGE

CGExtensions

 

[#12031] public function smarty_function_helptag($params, $smarty)

avatar
Created By: Darren Kierman (kierweb)
Date Submitted: Sat May 04 06:31:56 -0400 2019

Assigned To: Robert Campbell (calguy1000)
Version: 1.62.8
CMSMS Version: 2.2.10
Severity: Major
Resolution: Fixed
State: Open
Summary:
public function smarty_function_helptag($params, $smarty)
Detailed Description:
Bug in this function, which means CG Calendar doesn't work!.

PHP Fatal error:  Uncaught TypeError: Argument 4 passed to
CGExtensions::DisplayImage() must be of the type integer or null, string given,
called in modules/CGExtensions/lib/class.smarty_plugins.php on line 316 and
defined in modules/CGExtensions/CGExtensions.module.php:1185

I fixed by changing

      $width = '';
      $height = '';

to

      $width = NULL;
      $height = NULL;


History

Comments
avatar
Date: 2019-05-04 22:22
Posted By: Robert Campbell (calguy1000)

fixed in svn
      
Updates

Updated: 2019-05-04 22:22
resolution_id: 5 => 7

Updated: 2019-05-04 11:57
version_id: -1 => 31519
resolution_id: => 5
severity_id: 12 => 2
cmsms_version_id: -1 => 31482
assigned_to_id: 100 => 106