summaryrefslogtreecommitdiff
path: root/framework/Web/UI/TControl.php
diff options
context:
space:
mode:
authorxue <>2006-05-21 22:53:49 +0000
committerxue <>2006-05-21 22:53:49 +0000
commit414451b4e1062433734f0927daff003235148ef1 (patch)
tree7dfc1c529426faea5dadc3130df14c50af92f675 /framework/Web/UI/TControl.php
parente9044ac913b511f9f1b2aad12d18a79f40131b8b (diff)
Merge from 3.0 branch till 1089.
Diffstat (limited to 'framework/Web/UI/TControl.php')
-rw-r--r--framework/Web/UI/TControl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/TControl.php b/framework/Web/UI/TControl.php
index 7ca37a00..1aabb2a5 100644
--- a/framework/Web/UI/TControl.php
+++ b/framework/Web/UI/TControl.php
@@ -73,7 +73,7 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable
/**
* format of control ID
*/
- const ID_FORMAT='/^\\w*$/';
+ const ID_FORMAT='/^[a-zA-Z_]\\w*$/';
/**
* separator char between IDs in a UniqueID
*/