|
@@ 130-135 (lines=6) @@
|
| 127 |
|
|
| 128 |
|
$_REQUEST['cache_attribs'] = ''; |
| 129 |
|
$rs = sql("SELECT `id` FROM `cache_attrib` WHERE `default`=1 AND NOT IFNULL(`hidden`, 0)=1"); |
| 130 |
|
while ($r = sql_fetch_assoc($rs)) { |
| 131 |
|
if ($_REQUEST['cache_attribs'] != '') { |
| 132 |
|
$_REQUEST['cache_attribs'] .= ';'; |
| 133 |
|
} |
| 134 |
|
$_REQUEST['cache_attribs'] .= $r['id']; |
| 135 |
|
} |
| 136 |
|
sql_free_result($rs); |
| 137 |
|
|
| 138 |
|
$_REQUEST['cache_attribs_not'] = ''; |
|
@@ 140-145 (lines=6) @@
|
| 137 |
|
|
| 138 |
|
$_REQUEST['cache_attribs_not'] = ''; |
| 139 |
|
$rs = sql("SELECT `id` FROM `cache_attrib` WHERE `default`=2 AND NOT IFNULL(`hidden`, 0)=1"); |
| 140 |
|
while ($r = sql_fetch_assoc($rs)) { |
| 141 |
|
if ($_REQUEST['cache_attribs_not'] != '') { |
| 142 |
|
$_REQUEST['cache_attribs_not'] .= ';'; |
| 143 |
|
} |
| 144 |
|
$_REQUEST['cache_attribs_not'] .= $r['id']; |
| 145 |
|
} |
| 146 |
|
sql_free_result($rs); |
| 147 |
|
} |
| 148 |
|
} |