Skip to content

Commit

Permalink
Merge pull request #39 from Codeinwp/fix/issue-116
Browse files Browse the repository at this point in the history
fix: nps survery appearing on new installs
  • Loading branch information
HardeepAsrani authored Mar 11, 2024
2 parents 360ad02 + 74a27c8 commit ca9e0cb
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 @@ -248,7 +248,7 @@ public function add_nps_form() {
'apiHost' => 'https://app.formbricks.com',
'userId' => 'jaxon_' . $website_url,
'attributes' => array(
'days_since_install' => self::convert_to_category( round( ( time() - get_option( 'jaxon_install', 0 ) ) / DAY_IN_SECONDS ) ),
'days_since_install' => self::convert_to_category( round( ( time() - get_option( 'jaxon_install', time() ) ) / DAY_IN_SECONDS ) ),
),
);

Expand Down

0 comments on commit ca9e0cb

Please sign in to comment.