From 82cb0689c0f2712efda70c7031bf89818bbf7416 Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Mon, 15 Jul 2002 21:26:12 +0000 Subject: [PATCH] Coding standards --- ChangeLog | 1 + libraries/common.lib.php3 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6761b1711..41627b9dc 100755 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,7 @@ $Source$ - Removed a comment and - Changed the default value for $cfg['AllowAnywhereRecoding'] into FALSE. * header.inc.php3: Better fix against bug #571409, thanks to Loïc. + * libraries/common.lib.php3: Coding standards. 2002-07-15 Marc Delisle * db_details_export.php3, db_details_links.php3, Documentation.html, diff --git a/libraries/common.lib.php3 b/libraries/common.lib.php3 index b588c0dba..c186eebb9 100644 --- a/libraries/common.lib.php3 +++ b/libraries/common.lib.php3 @@ -1339,7 +1339,7 @@ if (typeof(document.getElementById) != 'undefined' // The name contains caracters <> a-z, A-Z and "_" -> not a reserved // word if (!ereg('^[a-zA-Z_]+$', $the_name)) { - return true; + return TRUE; } // Else do the work