| diablo |
|
|---|---|
|
after inputting letters into the extra field which has integer as type, i can no longer add pages... i get error 930 all the time Added 2 days later: i put cot_log in every step of page add and cot_block($usr['auth_write']); seems to be failing. there is only 1 user (admin) and this appeared right after this event
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
Відредаговано: diablo (08.03.2013 23:27, 12 років тому) |
| Trustmaster |
|
|---|---|
|
What file/line is it? May the Source be with you!
|
| diablo |
|
|---|---|
|
page.add.php line:56 replaced it with cot_block($usr['isadmin'] || $usr['auth_write']); to make it work. "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
|