GravityKit / GravityView

The best and easiest way to display Gravity Forms entries on your website.
https://www.gravitykit.com/products/gravityview/
246 stars 62 forks source link

Check if value has start and end dates #2116

Closed omarkasem closed 3 months ago

omarkasem commented 3 months ago

💾 Build file (fd80f29b3).

mrcasual commented 3 months ago

@Mwalek, please test.

Mwalek commented 3 months ago

@mrcasual I was not able to reproduce the issue without the fix. So I can't confirm that this is fixed.

I tested without the solution and got the following error:

<br /><b>Warning</b>:  Illegal string offset ‘start’ in <b>/.../public/wp-content/plugins/gravityview/includes/widgets/search-widget/templates/search-field-date_range.php</b> on line <b>20</b><br />0″>       <input name=

After adding the solution (using this build), the warning no longer appears.

If you can confirm that the problem is the same, then we can consider the issue resolved. Otherwise, please share additional details for reproducing the problem.

✔ Tested on PHP Version 7.4.30.

mrcasual commented 3 months ago

@omarkasem, please see @Mwalek's response.

rafaehlers commented 3 months ago

I was able to reproduce it:

image

This PR fixed it ✅