You are here

function quicktabs_updateblock in Quick Tabs 5

Same name and namespace in other branches
  1. 6 quicktabs.module \quicktabs_updateblock()
1 call to quicktabs_updateblock()
quicktabs_form_submit in ./quicktabs.module

File

./quicktabs.module, line 456

Code

function quicktabs_updateblock($qtid, $fullcontent) {
  $title = $fullcontent['blocktitle'];
  $tabs = serialize($fullcontent['blockcontent']);
  db_query("UPDATE {quicktabs} SET title='%s', tabs='%s' WHERE qtid=%d", $title, $tabs, $qtid);
  return;
}