Permalink
Browse files

Remove the need to check for posted data as the preview has been remo…

…ved. Fixes issue #221
  • Loading branch information...
1 parent 77baeb9 commit 121b3226b401d43e944be209bf9dd5935c47791f @markkevans markkevans committed with acidvertigo Aug 27, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 catalog/admin/categories.php
@@ -538,7 +538,7 @@ function updateNet() {
?>
<tr>
<td class="main"><?php if ($i == 0) echo TEXT_PRODUCTS_NAME; ?></td>
- <td class="main"><?php echo tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . '&nbsp;' . tep_draw_input_field('products_name[' . $languages[$i]['id'] . ']', (isset($products_name[$languages[$i]['id']]) ? stripslashes($products_name[$languages[$i]['id']]) : tep_get_products_name($pInfo->products_id, $languages[$i]['id']))); ?></td>
+ <td class="main"><?php echo tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . '&nbsp;' . tep_draw_input_field('products_name[' . $languages[$i]['id'] . ']', tep_get_products_name($pInfo->products_id, $languages[$i]['id'])); ?></td>
</tr>
<?php
}
@@ -573,7 +573,7 @@ function updateNet() {
<td><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="main" valign="top"><?php echo tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']); ?>&nbsp;</td>
- <td class="main"><?php echo tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '15', (isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : tep_get_products_description($pInfo->products_id, $languages[$i]['id']))); ?></td>
+ <td class="main"><?php echo tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '15', tep_get_products_description($pInfo->products_id, $languages[$i]['id'])); ?></td>
</tr>
</table></td>
</tr>

0 comments on commit 121b322

Please sign in to comment.