Skip to content

Commit

Permalink
release: version 1.0.8
Browse files Browse the repository at this point in the history
### Bug Fixes

- **Fix NPS Survey**: Fixed survey appearing instantly when theme installed programmatically.
  • Loading branch information
HardeepAsrani authored Mar 11, 2024
2 parents aadf3e2 + 8dfee85 commit b30330e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ public function add_nps_form() {
'apiHost' => 'https://app.formbricks.com',
'userId' => 'neve_fse_' . $website_url,
'attributes' => array(
'days_since_install' => self::convert_to_category( round( ( time() - get_option( 'neve_fse_install', 0 ) ) / DAY_IN_SECONDS ) ),
'days_since_install' => self::convert_to_category( round( ( time() - get_option( 'neve_fse_install', time() ) ) / DAY_IN_SECONDS ) ),
),
);

Expand Down

0 comments on commit b30330e

Please sign in to comment.