template syntax
[mir.git] / source / mircoders / entity / EntityContent.java
index c53237f..39dfc58 100755 (executable)
@@ -178,7 +178,7 @@ public class EntityContent extends Entity
           return getUploadedMediaForNewswire();
         }
         catch (Exception ex) {
-          theLog.printWarning("-- getUploadedMediaForContent: could not fetch data " + ex.toString());
+          theLog.printWarning("-- getUploadedMediaForNewswire: could not fetch data " + ex.toString());
           throw new TemplateModelException(ex.toString());
         }
       }
@@ -187,7 +187,7 @@ public class EntityContent extends Entity
           return getUploadedMediaForList();
         }
         catch (Exception ex) {
-          theLog.printWarning("-- getUploadedMediaForContent: could not fetch data " + ex.toString());
+          theLog.printWarning("-- getUploadedMediaForList: could not fetch data " + ex.toString());
           throw new TemplateModelException(ex.toString());
         }
       }
@@ -391,10 +391,10 @@ public class EntityContent extends Entity
           } //end if is_published
         } //end if media_type != null
       } //end for
-      returnHash.put("to_media_audio", mediaListAudio);
-      returnHash.put("to_media_images", mediaListImages);
-      returnHash.put("to_media_video", mediaListVideo);
-      returnHash.put("to_media_other", mediaListOther);
+      returnHash.put("media_audio", mediaListAudio);
+      returnHash.put("media_images", mediaListImages);
+      returnHash.put("media_video", mediaListVideo);
+      returnHash.put("media_other", mediaListOther);
     } //end if currentMediaList != null
     return returnHash;
  }