Post by dad » Thu Jan 22, 2009 2:48 pm

\admin\controller\extention.php

function insert() {
......

$sql = "insert into extension set code = '?', type = '?', directory = '?', filename = '?', controller = '?'";
$database->query($database->parse($sql, $request->gethtml('code', 'post'), $request->gethtml('type'), $request->gethtml('directory', 'post'), $request->gethtml('filename', 'post'), $request->gethtml('controller', 'post')));

$request->gethtml('type') Is it mistake? Should be  $request->gethtml('type', 'post')?

function update() also ... $request->gethtml('type')
Last edited by dad on Thu Jan 22, 2009 2:59 pm, edited 1 time in total.

dad
New member

Posts

Joined
Tue May 27, 2008 4:30 am

Post by dad » Thu Jan 22, 2009 3:56 pm

Sorry, it is not mistake!
It was my mistake  :(

dad
New member

Posts

Joined
Tue May 27, 2008 4:30 am

Post by hm2k » Thu Jan 22, 2009 6:20 pm

No bug.

UK Web Hosting


User avatar
Global Moderator

Posts

Joined
Tue Mar 11, 2008 9:06 am
Location - UK
Who is online

Users browsing this forum: No registered users and 1 guest