Возможная ошибка в коде

More
5 years 2 months ago - 5 years 2 months ago #12111 by mSnus
1) в views\zhyandexmap\tmpl\v2x_display_map_data.php
стр. 4344 вызывается
comZhYandexMapPlacemarksHelper::get_placemark_content_string_header($mapDivSuffix,
хотя в самой функции (helpers\placemarks.php)этот параметр, похоже, для другого:
public static function get_placemark_content_string_header($currentArticleId,

т.е. не mapDivSuffix, а currentArticleId

Хотя в самой функции вообще передаваемые параметры не используются -- в дальнейшем возможны ошибки.
Last edit: 5 years 2 months ago by mSnus.

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #12113 by Dima
Добрый вечер.
Ошибки нет, то, что не используется - это так получилось, т.к. данная функция изначально была другой. Но разделилась на несколько, а параметры остались

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

Time to create page: 0.090 seconds

Donate


Go to top