Browse Source

Document bad assumption

pdontthink 7 years ago
parent
commit
ddd1460317
1 changed files with 2 additions and 0 deletions
  1. 2 0
      functions/options.php

+ 2 - 0
functions/options.php

@@ -235,6 +235,8 @@ class SquirrelOption {
         //Check for a current value.  
         if (isset($GLOBALS[$name])) {
             $this->value = $GLOBALS[$name];
+        // TODO: This code should be something more like the following, but who knows what would break if it was changed at this point
+        // } else if (initial_value !== '') {
         } else if (!empty($initial_value)) {
             $this->value = $initial_value;
         } else {