SMPREF_OFF and SMPREF_ON were undefined.
authorfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 12 Nov 2001 14:18:03 +0000 (14:18 +0000)
committerfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 12 Nov 2001 14:18:03 +0000 (14:18 +0000)
(Warning removal)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1736 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/constants.php

index a16b1a4ed859aea412478b8286b8b4c091a07576..4734a819a05fca6c8b2cac78c9ec401bd3f96b9f 100644 (file)
@@ -18,7 +18,9 @@
 
     /* Define basic, general purpose preference constants. */
     define('SMPREF_NO', 0);
 
     /* Define basic, general purpose preference constants. */
     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 constants for location based preferences. */
     define('SMPREF_NONE', 'none');
 
     /* Define constants for location based preferences. */