GIT.Harvie.CZ
/
mirrors
/
SokoMan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efb8836
)
V ceniku se nezobrazuji blbosti
author
Thomas Mudrunka
<tomas@mudrunka.cz>
Thu, 1 Dec 2011 13:39:48 +0000
(14:39 +0100)
committer
Thomas Mudrunka
<tomas@mudrunka.cz>
Thu, 1 Dec 2011 13:39:48 +0000
(14:39 +0100)
apis/price-list.inc.php
patch
|
blob
|
blame
|
history
diff --git
a/apis/price-list.inc.php
b/apis/price-list.inc.php
index 67e0c4c38e933c7f396eb10c4ce9f7aa6171ef69..cc80af20d9fc44597260c9a489a74ef9fa37b896 100644
(file)
--- a/
apis/price-list.inc.php
+++ b/
apis/price-list.inc.php
@@
-1,5
+1,5
@@
<?php
-$sql = 'SELECT model_name,model_price_out FROM model';
+$sql = 'SELECT model_name,model_price_out FROM model
WHERE model_price_out > 0 AND category_id > 0
';
$result = $this->db->safe_query_fetch($sql);
foreach($result as $item) $items[$item['model_name']]=$item['model_price_out'];
die(json_encode($items));
This page took
0.1437 seconds
and
4
git commands to generate.