IntegraMOD / IntegraMOD151

The most complete premodded forum software
http://integramod.com
4 stars 4 forks source link

Sql fixes #27

Closed MWE001 closed 8 years ago

MWE001 commented 8 years ago

that's what I was afraid of. I have to figure that one out.

vendethiel commented 8 years ago

You can change that line: https://github.com/IntegraMOD/IntegraMOD150/blob/5e0c9cb97101b1d69aec148e0c23b0dc31217300/IM150/admin/admin_forum_tour.php#L126

        $page_access = $HTTP_POST_VARS['page_access'];

with

        $page_access = intval($HTTP_POST_VARS['page_access']);
MWE001 commented 8 years ago

Oh wow. Ic an't believe I forgot about the actual use of Intval. Man I am rusty real bad. I actually knew how to use that. oops. thanks for the reminder man. I truly appreciate it.

MWE001 commented 8 years ago

That made both the querys work fine without me adding any ticks to the integers. Now if we could get the entry to print on screen when going to edit a page.

MWE001 commented 8 years ago

I do need to bump that cracker tracker edit up to medium to while we are talking about this file.

vendethiel commented 8 years ago

Great if it works :-).

MWE001 commented 8 years ago

I'll recommit the change without the ticks since we know Integer is not supposed to have those.