mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-21 22:32:41 +01:00
call qsprintf() without warnings
Summary: After T13217 import_repository_symbols.php was showing a lot of warnings, using %LQ fixes that. I'm aware, that there are changes planned to the whole managing the symbols complex but until then less warnings are nice. Test Plan: No more warnings when updating symbols Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D19962
This commit is contained in:
parent
e8069dfe31
commit
360ebce00f
1 changed files with 2 additions and 2 deletions
|
@ -110,9 +110,9 @@ function commit_symbols(
|
|||
$conn_w,
|
||||
'INSERT INTO %T
|
||||
(repositoryPHID, symbolContext, symbolName, symbolType,
|
||||
symbolLanguage, lineNumber, pathID) VALUES %Q',
|
||||
symbolLanguage, lineNumber, pathID) VALUES %LQ',
|
||||
$symbol->getTableName(),
|
||||
implode(', ', $chunk));
|
||||
$chunk);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue