Download & Extend

notice: Use of undefined constant SWS_GW_OK

Project:SMS Framework
Version:7.x-1.x-dev
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

There seems to be a typo in the sms_track portion of the framework.

The error message is
notice: Use of undefined constant SWS_GW_OK - assumed 'SWS_GW_OK' in sms_track_archive_write() (line 214 of /public_html/sites/all/modules/smsframework/modules/sms_track/sms_track.module).

On line 214 of both 7.x dev and 6.x dev it has

<?php
-          $status = SWS_GW_OK;
?>

When it should be

<?php
+          $status = SMS_GW_OK;
?>

Comments

#1

Still new to patching so let me know if this works.

AttachmentSize
smsframework-sms_track-SWS-typo-1414288-1.patch 899 bytes

#2

Status:active» needs review

#3

Status:needs review» fixed

committed.

#4

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here