Development

#2078 ([sfMediaLibraryPlugin][PATCH] Changeset [4820] redefined an existing function : object_input_asset_tag)

You must first sign up to be able to contribute.

Ticket #2078 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

[sfMediaLibraryPlugin][PATCH] Changeset [4820] redefined an existing function : object_input_asset_tag

Reported by: noel Assigned to: fabien
Priority: minor Milestone:
Component: other Version: 1.0.0
Keywords: Cc: Josh.Reynolds
Qualification:

Description

As said in the title, the change redefined the function "object_input_asset_tag" and causes a fatal error. You should revert this change to the previous revision [4727].

Here the patch:

Index: plugins/sfMediaLibraryPlugin/lib/helper/sfMediaLibraryHelper.php
===================================================================
--- plugins/sfMediaLibraryPlugin/lib/helper/sfMediaLibraryHelper.php    (revision 4820)
+++ plugins/sfMediaLibraryPlugin/lib/helper/sfMediaLibraryHelper.php    (revision 4727)
@@ -61,12 +61,3 @@

   return $html;
 }
-
-function object_input_asset_tag($object, $method, $options = array(), $default_value = null)
-{
-       $options = _parse_attributes($options);
-
-  $value = _get_object_value($object, $method, $default_value);
-
-  return input_asset_tag(_convert_method_to_name($method, $options), $value, $options);
-}

Change History

08/07/07 15:27:42 changed by fabien

  • status changed from new to closed.
  • resolution set to fixed.

in r4822