Monday 13 October 2003 2:22:38 pm
Hi. I've found within a search of the forums, the fix to a bug I've encountered. However, being a newbie, I have no idea the correct way to implement the fix. Can someone please explain the correct way to implement the following fix? (i.e. where do I add the code in the file? Am I to over write any code? etc.)
Here is the fix for that bug.
Index: kernel/classes/ezcontentobject.php
===================================================================
--- kernel/classes/ezcontentobject.php (revision 2412)
+++ kernel/classes/ezcontentobject.php (working copy)
@@ -1680,7 +1680,7 @@
include_once( 'kernel/classes/datatypes/ezuser/ezuser.php' );
include_once( 'kernel/classes/ezuserdiscountrule.php' );
$user =& eZUser::currentUser();
- $languageCode = $Params['LanguageCode'];
+ $languageCode = $Params['Language'];
$language = $languageCode;
if ( $language == '' )
$language = eZContentObject::defaultLanguage(); Index: kernel/content/view.php Thanks! Maybe there's documentation on how to 'read' bug fixes?
|