projects
/
textcart.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a00335
)
Fixed a reference error in rep303.php for certain PHP versions.
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Wed, 8 May 2013 08:21:18 +0000
(10:21 +0200)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Wed, 8 May 2013 08:21:18 +0000
(10:21 +0200)
reporting/rep303.php
patch
|
blob
|
history
diff --git
a/reporting/rep303.php
b/reporting/rep303.php
index 2f3e7a35404478d7eb9e6b0475a788293c37aab2..e12e5f0f430bdafdaace4fd4f9255a23fbefba81 100644
(file)
--- a/
reporting/rep303.php
+++ b/
reporting/rep303.php
@@
-52,7
+52,7
@@
function getTransactions($category, $location, $item_like)
{
$regexp = null;
- if(sscanf($item_like, "/%s",
&
$regexp)==1)
+ if(sscanf($item_like, "/%s", $regexp)==1)
$sql .= " AND ".TB_PREF."stock_master.stock_id RLIKE ".db_escape($regexp);
else
$sql .= " AND ".TB_PREF."stock_master.stock_id LIKE ".db_escape($item_like);