phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] projects/inc/class.boprojects.inc.php, 1.145


From: nomail
Subject: [Phpgroupware-cvs] projects/inc/class.boprojects.inc.php, 1.145
Date: Sun, 27 Jun 2004 22:06:29 +0200

Update of /projects/inc
Modified Files:
        Branch: 
          class.boprojects.inc.php

date: 2004/06/27 20:06:29;  author: ceb;  state: Exp;  lines: +12 -3

Log Message:
update
=====================================================================
Index: projects/inc/class.boprojects.inc.php
diff -u projects/inc/class.boprojects.inc.php:1.144 
projects/inc/class.boprojects.inc.php:1.145
--- projects/inc/class.boprojects.inc.php:1.144 Thu Jun 24 13:46:15 2004
+++ projects/inc/class.boprojects.inc.php       Sun Jun 27 20:06:29 2004
@@ -1294,7 +1294,11 @@
                                $error[] = lang('please choose a project 
coordinator');
                        }
 
-                       if (strlen($values['title']) > 250)
+                       if(strlen($values['title']) == 0)
+                       {
+                               $error[] = lang('please enter a title');
+                       }
+                       else if(strlen($values['title']) > 250)
                        {
                                $error[] = lang('title can not exceed 250 
characters in length');
                        }
@@ -1609,7 +1613,12 @@
 
                function check_mstone($values)
                {
-                       if (strlen($values['title']) > 250)
+
+                       if (strlen($values['title']) == 0)
+                       {
+                               $error[] = lang('please enter a title');
+                       }
+                       else if (strlen($values['title']) > 250)
                        {
                                $error[] = lang('title can not exceed 250 
characters in length');
                        }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]