[Vtigercrm-commits] [vtiger development] #6362: user creation error when some existing user asterisk extension contains letters
vtiger development
vtiger-tickets at trac.vtiger.com
Wed Oct 14 05:46:46 EDT 2009
#6362: user creation error when some existing user asterisk extension contains
letters
----------------------------------+-----------------------------------------
Reporter: joebordes | Owner: developer
Type: defect | Status: new
Priority: unassigned | Milestone: 5.2.0
Component: vtigercrm | Version: 5.1.0
Keywords: asterisk user create |
----------------------------------+-----------------------------------------
It is due to a javascript syntax error when constructing the extension
validation array. I think the next code could fix the problem but I HAVE
NOT TRIED IT.
{{{
Index: modules/Users/Forms.php
===================================================================
--- modules/Users/Forms.php (revisión: 1679)
+++ modules/Users/Forms.php (copia de trabajo)
@@ -89,7 +89,7 @@
//check asteriskdetails start
$checkAsteriskDetails = checkAsteriskDetails();
-$extensions_list = implode(",",getAsteriskExtensions());
+$extensions_list = "'".implode("','",getAsteriskExtensions())."'";
//check asteriskdetails end
$the_script = <<<EOQ
}}}
http://vtiger-spain.com/forum/viewtopic.php?f=4&t=819&p=2901
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/6362>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list