View difference between Paste ID: VzMMKQes and 3niNy5BK
SHOW: | | - or go back to the newest paste.
1
// Prints sermon search URL
2-
function sb_print_sermon_link($sermon, $echo = true) {
2+
function sb_print_sermon_link($sermon, $echo = true, $relative_link = true) {
3
	if ($echo)
4-
		echo sb_build_url(array('sermon_id' => $sermon->id), true, true);
4+
		echo sb_build_url(array('sermon_id' => $sermon->id), true, $relative_link);
5
	else
6-
		return sb_build_url(array('sermon_id' => $sermon->id), true, true);
6+
		return sb_build_url(array('sermon_id' => $sermon->id), true, $relative_link);
7
}