diff options
Diffstat (limited to 'engine/lib/views.php')
| -rw-r--r-- | engine/lib/views.php | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php index c98ad4e78..b00334062 100644 --- a/engine/lib/views.php +++ b/engine/lib/views.php @@ -303,7 +303,7 @@ function elgg_set_view_location($view, $location, $viewtype = '') {  /**   * Returns whether the specified view exists   * - * @note If $recurse is strue, also checks if a view exists only as an extension. + * @note If $recurse is true, also checks if a view exists only as an extension.   *   * @param string $view     The view name   * @param string $viewtype If set, forces the viewtype @@ -1224,12 +1224,12 @@ function elgg_view_image_block($image, $body, $vars = array()) {   * @param string $type  The type of module (main, info, popup, aside, etc.)   * @param string $title A title to put in the header   * @param string $body  Content of the module - * @param string $vars  Additional parameters for the module + * @param array  $vars  Additional parameters for the module   *   * @return string   * @since 1.8.0   */ -function elgg_view_module($type, $title, $body, $vars = array()) { +function elgg_view_module($type, $title, $body, array $vars = array()) {  	$vars['class'] = elgg_extract('class', $vars, '') . " elgg-module-$type";  	$vars['title'] = $title;  | 
