If a study is on a single verse of the bible, eg 1 Peter 1:3, and a start
and end scripture reference is filled in for the study, then the output of {Scripture1} (and possibly scripture2) in the study details, study list and series list is confusing.
I would expect the output for a single verse to be:
1 Peter 1:3
and not
1 Peter 1:3-3
which might be take to be chapter one verse three to chapter three.
I guess before returning the string, you could do a check to see... pseudo code:
if (chapter_begin = chapter_end AND verse_begin = verse_end)
Then
(print Bookname + chapter_begin + chapter_end)
...actually - might have just found it in the code.. in site/helpers/scripture.php, somewhere around line 44:
if ($ch_e == $ch_b && $v_b == $v_e) {
$b3 = '';
$ch_e = '';
$b2a = '';
$v_e = '';
}
oo - could this be my first dev contribution!?