Skip to content

Commit

Permalink
Use a better condition, one that actually works
Browse files Browse the repository at this point in the history
  • Loading branch information
zohar committed Oct 10, 2017
1 parent 8e113dc commit d269002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion idea.profile
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ function idea_add_user_picture($account) {
*/
function idea_cron() {
# Allow system-side post-install procedure
if (!variable_get('openideal_post_install', FALSE)) {
if (variable_get('openideal_post_install', FALSE) == FALSE) {
system(DRUPAL_ROOT . '/profiles/idea/post-install.sh');
variable_set('openideal_post_install', TRUE);
}
Expand Down

0 comments on commit d269002

Please sign in to comment.