Commit 4463e32c authored by Eric Bremner's avatar Eric Bremner
Browse files

Fixing notice errors.

parent 643b07a5
......@@ -188,8 +188,8 @@ function uw_virtual_site_homepage_page_alter(&$page) {
if(isset($page['header_second']['boxes_site_info']['content']['#markup'])) {
$page['header_second']['boxes_site_info']['content']['#markup'] = preg_replace('/<p>(.*)<a(.*)<\/a>/s', '<h2>' . $page['uw-virtual-site-homepage']['field_uw_credentials'][0]['#markup'] . '</h2>', $page['header_second']['boxes_site_info']['content']['#markup']);
}
else if($page['header_second'][boxes_site_info]['#markup']) {
$page['header_second'][boxes_site_info]['#markup'] = preg_replace('/<p>(.*)<a(.*)<\/a>/s', '<h2>' . $page['uw-virtual-site-homepage']['field_uw_credentials'][0]['#markup'] . '</h2>', $page['header_second'][boxes_site_info]['#markup']);
else if($page['header_second']['boxes_site_info']['#markup']) {
$page['header_second']['boxes_site_info']['#markup'] = preg_replace('/<p>(.*)<a(.*)<\/a>/s', '<h2>' . $page['uw-virtual-site-homepage']['field_uw_credentials'][0]['#markup'] . '</h2>', $page['header_second']['boxes_site_info']['#markup']);
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment