Permalink
Browse files

fixed new bug in tarski_headerimage() from last commit

  • Loading branch information...
1 parent 999f082 commit c50ec21811433ae4b9d154ce15c710260f91cedb @tfnab tfnab committed with Jan 12, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 library/helpers/template_helper.php
View
1 library/helpers/template_helper.php
@@ -280,6 +280,7 @@ function _tarski_asset_output($type, $assets) {
* @return string
*/
function tarski_headerimage() {
+ global $post;
if (!get_theme_mod('header_image')) return;
$header_img_url = get_header_image();

0 comments on commit c50ec21

Please sign in to comment.