Commit 1a2acccc authored by kolafson's avatar kolafson
Browse files

Fixed RSS feed link

parent ee0b326d
......@@ -3,7 +3,7 @@ description = "Adds events and event listing pages."
core = "7.x"
package = "uWaterloo Content Types"
php = "5.2.4"
version = "7.x-1.3"
version = "7.x-1.4"
project = "uw_ct_event"
dependencies[] = "calendar"
dependencies[] = "context"
......
......@@ -363,8 +363,8 @@ function uw_ct_event_theme($existing, $type, $theme, $path) {
// To add the feed link to a block
function events_public_feed_link(){
global $base_root;
$baseurl = $base_root.'/events/events.xml';
global $base_url;
$baseurl = $base_url.'/events/events.xml';
return'<p><div class="rss_link">
<a href="'.$baseurl.'">Subscribe to events feed</a>
</div></p>';
......
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