Skip to content

Commit c37988a

Browse files
committed
Code comments. Bug report for original authors.
1 parent b09e696 commit c37988a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/class.event.php

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ protected function createEvent ($evname,$evid,$evmgr,$evcontact,$evmin,$evmax,$e
5757
*/
5858

5959
protected function viewEvent ($evid) {
60+
/* Bad practice. A change in DB design will screw up if we use * instead of specific col names */
6061
$qry = "select * from event where ev_id='".$evid."'";
6162
$res = dbquery($qry);
6263
$this->resourcevar = (resource2array($res));

0 commit comments

Comments
 (0)