Bug in default_result_summary .php

  • Martin7
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 years 3 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
The following user(s) said Thank You: andrea_4g

Please Log in or Create an account to join the conversation.

More
6 years 3 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.

Please Log in or Create an account to join the conversation.

  • Martin7
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 years 2 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.

More
6 years 2 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.

Please Log in or Create an account to join the conversation.

More
6 years 2 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.163 seconds