Browse Source

SMPREF_OFF and SMPREF_ON were undefined.
(Warning removal)

Tyler Akins 23 years ago
parent
commit
21d41eb5e6
1 changed files with 2 additions and 0 deletions
  1. 2 0
      functions/constants.php

+ 2 - 0
functions/constants.php

@@ -18,7 +18,9 @@
 
 
     /* Define basic, general purpose preference constants. */
     /* Define basic, general purpose preference constants. */
     define('SMPREF_NO', 0);
     define('SMPREF_NO', 0);
+    define('SMPREF_OFF', 0);
     define('SMPREF_YES', 1);
     define('SMPREF_YES', 1);
+    define('SMPREF_ON', 1);
     define('SMPREF_NONE', 'none');
     define('SMPREF_NONE', 'none');
 
 
     /* Define constants for location based preferences. */
     /* Define constants for location based preferences. */