_taxonomy_prepare_update

Versions
4.6
_taxonomy_prepare_update($data)

Code

modules/taxonomy.module, line 780

<?php
function _taxonomy_prepare_update($data) {
  foreach ($data as $key => $value) {
    $q[] = "$key = '". str_replace('%', '%%', db_escape_string($value)) ."'";
  }
  $result = implode(', ', $q);
  return $result;
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.