Changeset 12928
- Timestamp:
- 07/09/09 09:16:06 (7 months ago)
- Files:
-
- vtigercrm/branches/5.1/install.php (modified) (1 diff)
- vtigercrm/branches/5.1/install/PreMigrationActions.php (modified) (2 diffs)
- vtigercrm/branches/5.1/install/SetMigrationConfig.php (modified) (1 diff)
- vtigercrm/branches/5.1/modules/HelpDesk/HelpDesk.php (modified) (1 diff)
- vtigercrm/branches/5.1/modules/Home/UnifiedSearch.php (modified) (1 diff)
- vtigercrm/branches/5.1/modules/Users/Users.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
vtigercrm/branches/5.1/install.php
r12906 r12928 40 40 } 41 41 42 if ( isset($_REQUEST['file'])) $the_file = $_REQUEST['file'];42 if (!empty($_REQUEST['file'])) $the_file = $_REQUEST['file']; 43 43 else $the_file = "welcome.php"; 44 44 vtigercrm/branches/5.1/install/PreMigrationActions.php
r12914 r12928 179 179 <td valign="top" class="mediumLineHeight"> 180 180 <b>Have not taken the database backup yet?</b><br> 181 <b>« Click</b> on the icon left nowto start the dump and <b>Save</b> the copy of output.<br><br>181 <b>« Click</b> on the left icon to start the dump and <b>Save</b> the copy of output.<br><br> 182 182 <div class="helpmessagebox"><b>Note</b>:<br> This process may take longer time depending on the database size.</div> 183 183 </td> … … 197 197 <td valign="top" class="mediumLineHeight"> 198 198 <b>Are you migrating to new database?</b><br> 199 <b>« Click</b> on the icon leftto proceed if you have not setup new database with earlier data.199 <b>« Click</b> on the left icon to proceed if you have not setup new database with earlier data. 200 200 <br><br> 201 201 <div class="helpmessagebox"><b>Recommended</b>:<br> vtigercrm/branches/5.1/install/SetMigrationConfig.php
r12915 r12928 230 230 </tr> 231 231 <tr> 232 <td width = 35%>Database Name for Migra iton<sup><font color=red>*</font></sup></td>232 <td width = 35%>Database Name for Migration<sup><font color=red>*</font></sup></td> 233 233 <td align="left"><input class="small" type="text" name="new_dbname" id="new_dbname" value="" size="50" /> </td> 234 234 </tr> vtigercrm/branches/5.1/modules/HelpDesk/HelpDesk.php
r12877 r12928 124 124 if ($return_action && $for_module && $for_crmid) { 125 125 if ($for_module != 'Accounts' && $for_module != 'Contacts' && $for_module != 'Products') { 126 parent::save_related_module($for_module, $for_crmid, $module, $this->id); 126 $on_focus = CRMEntity::getInstance($for_module); 127 $on_focus->save_related_module($for_module, $for_crmid, $module, $this->id); 127 128 } 128 129 } vtigercrm/branches/5.1/modules/Home/UnifiedSearch.php
r12877 r12928 69 69 $smarty->assign("SEARCH_MODULE",vtlib_purify($_REQUEST['search_module'])); 70 70 $smarty->assign("SINGLE_MOD",$module); 71 $smarty->assign("SEARCH_STRING", $search_val);71 $smarty->assign("SEARCH_STRING",vtlib_purify($search_val)); 72 72 73 73 $listquery = getListQuery($module); vtigercrm/branches/5.1/modules/Users/Users.php
r12877 r12928 306 306 $usr_name = $this->column_fields["user_name"]; 307 307 308 $query = "SELECT * from $this->table_name where user_name='$usr_name' AND user_hash='$password'"; 309 $result = $this->db->requireSingleResult($query, false); 308 $query = "SELECT * from $this->table_name where user_name=? AND user_hash=?"; 309 $params = array($usr_name, $password); 310 $result = $this->db->requirePsSingleResult($query, $params, false); 310 311 311 312 if(empty($result)){
