Project

General

Profile

Actions

Anomalie #277

closed

sql error when updating an SD theme when theme id as same as sdtheme id is not known

Added by Simon over 10 years ago. Updated over 10 years ago.

Status:
Fermé
Priority:
Urgent
Assignee:
Category:
admin
Target version:
Start date:
07/10/2013
Due date:
% Done:

100%

Estimated time:
0.50 h
Resolution:

Description

error in version 1.6

Actions #1

Updated by Simon over 10 years ago

  • Status changed from Nouveau to Fermé
  • % Done changed from 0 to 100

Applied in changeset linea21|r2010.

Actions #2

Updated by Simon over 10 years ago

For 1.6 version and anteriors, on line 252, replace :

  $query=SQL_getoneSDtheme($form_sdtheme);
  $data=$sql_object->DBSelect($query);
  $display_sdtheme_name=formatText($data[0]['sdtheme_name'], '2HTML');

by

if(!$root) {
  $query=SQL_getoneSDtheme($form_sdtheme);
  $data=$sql_object->DBSelect($query);
  $display_sdtheme_name=formatText($data[0]['sdtheme_name'], '2HTML');
}

Actions

Also available in: Atom PDF