Fixed Incorrect controller_name max length in SessionActivity

refael

Well-known member
Affected version
2.0.0 beta 6
In SessionActivity.php, the contorller_name is cut off to 50 chars but the database field allows up to 100.

Line 134 in SessionActivity repo
PHP:
$controller = substr($controller, 0, 50);

I'm not sure if the mistake is in the database or in the code,
But please keep it 100 or higher, 50 is not enough.
 
The database did indeed change in 2.0. We increased all fields which contain a class name to 100 and all fields which contain a method name to 75. The code has been updated to reflect the increased lengths (for the next release).
 
Top Bottom