Index: copyright.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/copyright/Attic/copyright.module,v
retrieving revision 1.13.4.21
diff -u -r1.13.4.21 copyright.module
--- copyright.module	5 Jun 2007 08:03:29 -0000	1.13.4.21
+++ copyright.module	11 Jul 2007 12:22:45 -0000
@@ -119,14 +119,16 @@
 
     $paths = copyright_get_license_local_paths();
     foreach ($paths as $path) {
-      $items[] = array(
-        'path' => $path->source_url,
-        'title' => t($path->name),
-        'type' => MENU_CALLBACK, 
-        'callback' => 'copyright_show_license',
-        'callback arguments' => array($path->cpyid),
-        'access' => user_access('access content'),
-      );
+      if (!empty($path->source_url)) {
+        $items[] = array(
+          'path' => $path->source_url,
+          'title' => t($path->name),
+          'type' => MENU_CALLBACK, 
+          'callback' => 'copyright_show_license',
+          'callback arguments' => array($path->cpyid),
+          'access' => user_access('access content'),
+        );
+      }
     }
   }
   else {
