Skip to content

Commit

Permalink
Merge pull request atutor#11 from MrLAL/patch-1
Browse files Browse the repository at this point in the history
Update mods/_standard/faq/sublinks.php 
http://atutor.ca/atutor/mantis/view.php?id=4903
  • Loading branch information
atutorlangs committed Feb 6, 2012
2 parents 6f88735 + 0a77f53 commit 0d55c0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mods/_standard/faq/sublinks.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

if (mysql_num_rows($result) > 0) {
while ($row = mysql_fetch_assoc($result)) {
$list[] = '<a href="'.url_rewrite('faq/index.php#'.$row['entry_id'], AT_PRETTY_URL_IS_HEADER).'"'.
$list[] = '<a href="'.url_rewrite('mods/_standard/faq/index.php#'.$row['entry_id'], AT_PRETTY_URL_IS_HEADER).'"'.
(strlen($row['question']) > SUBLINK_TEXT_LEN ? ' title="'.AT_print($row['question'], 'faqs.question').'"' : '') .'>'.
AT_print(validate_length($row['question'], SUBLINK_TEXT_LEN, VALIDATE_LENGTH_FOR_DISPLAY), 'faqs.question') .'</a>';
}
Expand Down

0 comments on commit 0d55c0f

Please sign in to comment.