Skip to content

Commit 2e474b7

Browse files
committed
Merge branch 'develop' into release-1.0
2 parents da5c073 + 9a3cfc4 commit 2e474b7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

os2web_print_send_to_friend.module

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ function os2web_print_send_to_friend_menu() {
5656
*/
5757
function os2web_print_send_to_friend_print_bullet_point($bullet_point_id) {
5858
$bullet_point = node_load($bullet_point_id);
59-
if (strcmp($bullet_point->type, 'bullet_point') == 0) {
59+
if (strcmp($bullet_point->type, 'os2web_meetings_bullet') == 0) {
6060
$html = '<h1>' . $bullet_point->title . '</h1>';
6161

62-
foreach ($bullet_point->field_ref_attachment['und'] as $attachment_id) {
62+
foreach ($bullet_point->field_os2web_meetings_attach['und'] as $attachment_id) {
6363
$attachment = node_load($attachment_id['target_id']);
6464
$html .= '<h3>' . $attachment->title . '</h3>';
65-
$html .= $attachment->field_bpa_body['und'][0]['value'];
65+
$html .= $attachment->field_os2web_meetings_bpa_body['und'][0]['value'];
6666
}
6767

6868
}
@@ -100,8 +100,8 @@ function os2web_print_send_to_friend_send_to_friend_form($bullet_point_id) {
100100
*/
101101
function os2web_print_send_to_friend_bullet_point_access($bullet_point_id) {
102102
$bullet_point = node_load($bullet_point_id);
103-
if (strcmp($bullet_point->type, 'bullet_point') == 0) {
104-
if ($bullet_point->field_bul_point_closed['und'][0]['value']) {
103+
if (strcmp($bullet_point->type, 'os2web_meetings_bullet') == 0) {
104+
if ($bullet_point->field_os2web_meetings_bul_closed['und'][0]['value']) {
105105
return TRUE;
106106
}
107107
else {

0 commit comments

Comments
 (0)