aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.js b/src/modules.js
index dd027f73..b31567be 100644
--- a/src/modules.js
+++ b/src/modules.js
@@ -238,7 +238,7 @@ var Functions = {
// Mark a function as needing indexing. Python will coordinate them all
getIndex: function(ident) {
- if (phase != 'post') {
+ if (phase != 'post' && singlePhase) {
this.indexedFunctions[ident] = 0; // tell python we need this indexized
return '{{{ FI_' + ident + ' }}}'; // something python will replace later
} else {