Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Unreachable code in...
 
Notifications
Clear all

Unreachable code in Affectable model

2 Posts
2 Users
0 Reactions
2,594 Views
(@antonio-grr)
Posts: 84
Active Member
Topic starter
 
[#4335]

Hi.
In new version (V6.2.4) a return statement added to Affectable model make some code unreachable.
return 'letter#'.$affId;
if ($withoutUrlExtra) {
return "../view/img/Affectable/thumb$size.png";
} else {
return "../view/img/Affectable/thumb$size.png#0# #Affectable";
}

Best regards


 
Posted : 09 May 2017 19H10
(@babynus)
Posts: 14952
Member Admin
 

This is "partly" normal.
It is a change done to display a letter (initial) as image when user has not uploaded his photo.
Code should have been commented.
We'll do that on next version...


 
Posted : 10 May 2017 1H58
Share:

Scroll to Top