Index: /WAeUP_SRP/unilorin/waeup_custom/getTranscriptInfo.py
===================================================================
--- /WAeUP_SRP/unilorin/waeup_custom/getTranscriptInfo.py	(revision 3619)
+++ /WAeUP_SRP/unilorin/waeup_custom/getTranscriptInfo.py	(revision 3620)
@@ -64,4 +64,7 @@
         year_details[year_counter]['total_credits'] = total_credits
         year_details[year_counter]['gpa'] = "%4.2f" % (float(gpa)/int(total_credits))
+    else:
+        year_details[year_counter]['total_credits'] = 0
+        year_details[year_counter]['gpa'] = 0    
     year.sort(cmp=lambda x,y: cmp("%(semester)s%(code)s" % x,
                                          "%(semester)s%(code)s" % y))
Index: /WAeUP_SRP/unilorin/waeup_custom/transcript_view.pt
===================================================================
--- /WAeUP_SRP/unilorin/waeup_custom/transcript_view.pt	(revision 3619)
+++ /WAeUP_SRP/unilorin/waeup_custom/transcript_view.pt	(revision 3620)
@@ -72,5 +72,5 @@
         <br />
         <table>
-          <tr>
+          <tr tal:condition="details/total_credits" >
             <th>Total Credits:</th>
             <td tal:content="details/total_credits" />
