- Posts: 53
- Thank you received: 6
Bug in default_result_summary .php
- Martin7
- Topic Author
- Offline
- Senior Member
Less
More
6 years 11 months ago #2642
by Martin7
Bug in default_result_summary .php was created by Martin7
hi,
today I have discovered that the configuration parameter "link nofollow" does not work for links is search summary and after short investigation found the bug in the default_result_summary.php (wrong name of the parameter used).
In line 19 it is:
$nofollow_attr = $params->get('nofollow', '0') ? 'rel="nofollow"' : '';
but should be:
$nofollow_attr = $params->get('add_nofollow', '0') ? 'rel="nofollow"' : '';
after this fix it works. Please include this fix in the next version.
thanks
Martin
today I have discovered that the configuration parameter "link nofollow" does not work for links is search summary and after short investigation found the bug in the default_result_summary.php (wrong name of the parameter used).
In line 19 it is:
$nofollow_attr = $params->get('nofollow', '0') ? 'rel="nofollow"' : '';
but should be:
$nofollow_attr = $params->get('add_nofollow', '0') ? 'rel="nofollow"' : '';
after this fix it works. Please include this fix in the next version.
thanks
Martin
The following user(s) said Thank You: andrea_4g
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
6 years 11 months ago #2644
by andrea_4g
Replied by andrea_4g on topic Bug in default_result_summary .php
Nicely spotted!
The fix will be part of the upcoming new release of Custom Properties.
The fix will be part of the upcoming new release of Custom Properties.
Please Log in or Create an account to join the conversation.
- Martin7
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 53
- Thank you received: 6
6 years 10 months ago #2658
by Martin7
Replied by Martin7 on topic Bug in default_result_summary .php
Thanks
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
6 years 10 months ago #2659
by andrea_4g
Replied by andrea_4g on topic Bug in default_result_summary .php
Your waiting is almost over.
We are adding a few other things to Custom Properties and when we are done testing we'll release.
It's a matter of days.
We are adding a few other things to Custom Properties and when we are done testing we'll release.
It's a matter of days.
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
6 years 10 months ago #2660
by andrea_4g
Replied by andrea_4g on topic Bug in default_result_summary .php
Fixed with Custom Properties 3.1.28
Please Log in or Create an account to join the conversation.
Time to create page: 0.166 seconds