mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Fix for bug #429394 - trailing spaces in application (name,title)
This commit is contained in:
parent
8a855989a5
commit
ebae457a26
@ -50,6 +50,9 @@
|
||||
|
||||
$totalerrors = 0;
|
||||
|
||||
$n_app_name = chop($n_app_name);
|
||||
$n_app_title = chop($n_app_title);
|
||||
|
||||
if (! $n_app_name)
|
||||
{
|
||||
$error[$totalerrors++] = lang('You must enter an application name.');
|
||||
|
@ -44,6 +44,9 @@
|
||||
$app_order = 0;
|
||||
}
|
||||
|
||||
$n_app_name = chop($n_app_name);
|
||||
$n_app_title = chop($n_app_title);
|
||||
|
||||
$phpgw->db->query("select count(*) from phpgw_applications where app_name='"
|
||||
. addslashes($n_app_name) . "'",__LINE__,__FILE__);
|
||||
$phpgw->db->next_record();
|
||||
|
Loading…
Reference in New Issue
Block a user