diff --git a/core/includes/common.inc b/core/includes/common.inc index fdb6d6f..052242b 100644 --- a/core/includes/common.inc +++ b/core/includes/common.inc @@ -2827,8 +2827,8 @@ function drupal_get_library($module, $name = NULL) { * '#header' => $header, * '#rows' => $rows, * '#attributes' => array( - * 'id' => 'my-module-table' - * ) + * 'id' => 'my-module-table', + * ), * ); * return drupal_render($table); * @endcode diff --git a/core/includes/pager.inc b/core/includes/pager.inc index 7fb19b0..f90066c 100644 --- a/core/includes/pager.inc +++ b/core/includes/pager.inc @@ -69,7 +69,7 @@ function pager_find_page($element = 0) { * $result = mymodule_select("SELECT * FROM data " . $where . " LIMIT %d, %d", $offset, $num_per_page)->fetchAll(); * $output = drupal_render( * '#theme' => 'mymodule_results', - * '#result' => $result + * '#result' => $result, * ); * * // Finally, display the pager controls, and return.