Skip to content
Snippets Groups Projects
Commit 370dc2fa authored by Prasad's avatar Prasad
Browse files

Fixes #1712: Corrected linkName update to Settings Link

parent 399aca9f
No related branches found
No related tags found
No related merge requests found
......@@ -925,7 +925,7 @@ function vtlib_addSettingsLink($linkName, $linkURL, $blockName = false) {
$linkURL = ($linkURL) ? $linkURL : '';
$fieldSequence = $db->query_result($fieldSeqResult, 0, 'sequence');
$db->pquery('INSERT INTO vtiger_settings_field(fieldid, blockid, name, iconpath, description, linkto, sequence, active, pinned) VALUES(?,?,?,?,?,?,?,?,?)', array($fieldId, $blockId, $entryName, '', $entryName, $linkURL, $fieldSequence++, 0, 0));
$db->pquery('INSERT INTO vtiger_settings_field(fieldid, blockid, name, iconpath, description, linkto, sequence, active, pinned) VALUES(?,?,?,?,?,?,?,?,?)', array($fieldId, $blockId, $linkName, '', $linkName, $linkURL, $fieldSequence++, 0, 0));
}
} else {
$success = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment