projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a5b75e
)
CRM-19261 Set uniqueID as well
author
Seamus Lee
<seamuslee001@gmail.com>
Mon, 29 Aug 2016 22:24:44 +0000
(08:24 +1000)
committer
Seamus Lee
<seamuslee001@gmail.com>
Mon, 29 Aug 2016 07:14:59 +0000
(17:14 +1000)
CRM/Utils/File.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/File.php
b/CRM/Utils/File.php
index c8f322b43728c03212ca7ee1edb8588738205309..5bfbd9dfc4cb5fc4b9689f0893910ba28ccab4fd 100644
(file)
--- a/
CRM/Utils/File.php
+++ b/
CRM/Utils/File.php
@@
-311,6
+311,8
@@
class CRM_Utils_File {
$db->query('SET SESSION sql_mode = STRICT_TRANS_TABLES');
}
$db->query('SET NAMES utf8');
+ $transactionId = CRM_Utils_Type::escape(CRM_Utils_Request::id(), 'String');
+ $db->query('SET @uniqueID = ' . $transactionId);
if (!$isQueryString) {
$string = $prefix . file_get_contents($fileName);